1078 lines
42 KiB
Markdown
1078 lines
42 KiB
Markdown
# UX Coverage — the parts a screen needs
|
||
|
||
**Generated from `mcp/src/coverage-data.mjs`. Do not edit this file — edit the data module and run `node scripts/build-coverage-reference.mjs`.**
|
||
|
||
This is the **completeness** axis. It asks whether a screen has the parts screens of
|
||
its kind need. It is not the distinction axis — [finish-bar.md](finish-bar.md), the
|
||
surface recipes and `check_anti_slop` answer *is this designed*. Report the two side
|
||
by side.
|
||
|
||
If the MCP server is connected, call `ux_coverage` instead of reading this file — it
|
||
returns one archetype rather than all of them, and carries the reporting contract with
|
||
it. This file is the fallback for installs without the server.
|
||
|
||
## Reporting contract
|
||
|
||
Each part gets one marker:
|
||
|
||
| Marker | Meaning |
|
||
|---|---|
|
||
| **present** | the part is there, doing what it describes |
|
||
| **partial** | there but incomplete or weakened — say which half is missing |
|
||
| **missing** | not there, and it should be — say what it costs the user |
|
||
| **not-needed** | absent and that is correct here — needs a stated reason, not just an absence you would rather not flag |
|
||
| **unknown** | what you were given does not show enough to tell — say whether more input would settle it |
|
||
|
||
**No score, no count, no percentage.** "6 of 8" makes `not-needed` read as a failure and
|
||
turns a review into a grade. It also re-creates the problem `score_ui` already has:
|
||
coverage is a hygiene axis, and hygiene axes tie at the top, so a coverage number would
|
||
read 100 for most surfaces while hiding the distinction signal underneath it.
|
||
|
||
**Coverage never gates.** It does not fail a build and does not exit non-zero.
|
||
|
||
`not-needed` requires a reason. If you cannot say why a part does not apply here, it is
|
||
missing. And do not invent presence — if you cannot see it, you cannot confirm it,
|
||
however likely it is to exist somewhere.
|
||
|
||
## What is not here
|
||
|
||
**Dashboard, landing and auth** have full outcome recipes with their own acceptance bars
|
||
([recipe-dashboard.md](recipe-dashboard.md), [recipe-landing.md](recipe-landing.md),
|
||
[recipe-auth.md](recipe-auth.md)) — use those. Two homes for one requirement is how one
|
||
of them goes stale.
|
||
|
||
**States** are not restated here. [state-design.md](state-design.md) owns the lattice
|
||
(idle / loading / empty / error / partial / success / conflict / offline) and the
|
||
`state-coverage` loop preset evaluates it. Each archetype below names only the lattice
|
||
instances that are non-obvious *for that archetype* — a data table's filtered-empty is a
|
||
different screen from its first-run-empty, and that is archetype knowledge, not lattice
|
||
knowledge.
|
||
|
||
An archetype that is not listed is not a failure. Coverage is deliberately partial —
|
||
review the surface without a coverage pass.
|
||
|
||
## Archetypes
|
||
|
||
### Web app
|
||
|
||
- [Data table](#data-table) `data-table` — table, grid, list view, records
|
||
- [Settings](#settings) `settings` — preferences, account settings, workspace settings, configuration
|
||
- [Search and filtering](#search-filter) `search-filter` — search, filtering, faceted search, query
|
||
- [Detail / record view](#detail-view) `detail-view` — record page, detail page, item view, entity page
|
||
- [First-run / empty product](#empty-first-run) `empty-first-run` — empty state, zero state, blank slate, first use
|
||
- [Billing / subscription](#billing) `billing` — subscription, plan management, invoices, payment settings
|
||
|
||
### Website
|
||
|
||
- [Pricing page](#pricing) `pricing` — plans, pricing table, tiers, plan comparison
|
||
- [Documentation page](#docs-page) `docs-page` — docs, documentation, guide, reference page
|
||
|
||
### Flows
|
||
|
||
- [Checkout / payment](#checkout) `checkout` — payment flow, purchase, cart checkout, pay
|
||
- [Onboarding flow](#onboarding) `onboarding` — setup flow, getting started, welcome flow, activation
|
||
- [Destructive confirmation](#destructive-confirm) `destructive-confirm` — delete confirmation, are you sure, confirm dialog, remove
|
||
- [Invite / share](#invite-share) `invite-share` — invite members, share, collaborators, permissions
|
||
|
||
---
|
||
|
||
## data-table
|
||
|
||
**Data table** · Web app
|
||
|
||
Also called: table, grid, list view, records, rows, datagrid, spreadsheet view.
|
||
|
||
**Non-obvious states for this archetype** (lattice in [state-design.md](state-design.md)):
|
||
|
||
- filtered-empty — a query matched nothing; needs "clear filters", not an onboarding CTA
|
||
- first-run-empty — the account has no records at all; needs the onboarding CTA
|
||
- partial — one column sources from a failing service; per-cell error, not a page error
|
||
|
||
### Sort, with the current direction visible
|
||
|
||
_navigation_
|
||
|
||
**Present looks like:** Clickable column headers that toggle asc/desc, and an indicator showing which column is sorted and which way
|
||
|
||
**How to build it:** Headers sentence case, weight 500, secondary color — never uppercase (dashboard.md, Data Tables)
|
||
|
||
**Cost if absent:** The user re-clicks a header to find out which way it was already sorted, and loses their place
|
||
|
||
### Row selection with a bulk action bar
|
||
|
||
_action_
|
||
|
||
**Present looks like:** A checkbox column plus a bar that appears on selection, naming the count ("3 selected") and the available verbs
|
||
|
||
**How to build it:** Persistent bar, not a toast that times out. Verbs are ghost buttons — a toolbar never holds a solid primary (dashboard.md, Filter & Toolbar)
|
||
|
||
**Cost if absent:** The user selects forty rows and then hunts for the verb, or loses the selection to a timeout
|
||
|
||
### Active filters legible without opening the filter panel
|
||
|
||
_transparency_
|
||
|
||
**Present looks like:** Filter controls, and the currently-applied filters shown as chips or equivalent above the table with individual remove
|
||
|
||
**How to build it:** Ghost buttons; active state is accent background at low opacity. "Reset filters" appears only when filters are active, as a text link (dashboard.md, Filter & Toolbar)
|
||
|
||
**Cost if absent:** The user reads a filtered subset as the entire dataset and makes a decision on it
|
||
|
||
### Pagination or virtualization, with the total count
|
||
|
||
_transparency_
|
||
|
||
**Present looks like:** Page controls or a virtual window, plus a count that gives the scale ("1–50 of 1,240") and a rows-per-page choice
|
||
|
||
**How to build it:** Virtualize past 200 rows; paginate instead when the table must be find-in-page-searchable or printable, because a virtual window hides rows from Cmd+F (dashboard.md, Data Tables)
|
||
|
||
**Cost if absent:** The user has no sense of how much data exists, and a long table blows the frame budget on every scroll
|
||
|
||
### Row-level actions, capped
|
||
|
||
_action_
|
||
|
||
**Present looks like:** Two or three contextual actions reachable per row, with anything further in an overflow menu
|
||
|
||
**How to build it:** Icon-only controls need aria-label plus tooltip as the floor, but a visible text label beats both (components.md, Icon Labels)
|
||
|
||
**Cost if absent:** A row of undifferentiated icons is unscannable, and each one costs a hover to identify
|
||
|
||
### Column visibility and density control, persisted
|
||
|
||
_transparency_
|
||
|
||
**Present looks like:** A way to hide/show columns (and set row density), remembered across sessions
|
||
|
||
**How to build it:** Past ~5 options this stops being a dropdown and wants a searchable popover (components.md, Menus & Dropdowns)
|
||
|
||
**Cost if absent:** Power users rebuild their view on every visit — the most consistent complaint tables get
|
||
|
||
### Both empty states, told apart
|
||
|
||
_state_
|
||
|
||
**Present looks like:** A filtered-empty state offering to clear filters, and a first-run-empty state offering to create the first record — different copy, different CTA
|
||
|
||
**How to build it:** Filtered-empty gets a clear-filters button; first-run-empty gets the heavy onboarding CTA plus a visual (state-design.md, Empty States)
|
||
|
||
**Cost if absent:** A filtered-empty screen telling the user to create their first record, when they have 4,000 — reads as broken
|
||
|
||
### Export that states its own scope
|
||
|
||
_transparency_
|
||
|
||
**Present looks like:** A download action, labelled with what it will actually export given the current filter and selection
|
||
|
||
**How to build it:** Say the scope in the control itself ("Export 24 filtered rows"), matching copy.md restraint — not a bare "Export"
|
||
|
||
**Cost if absent:** The user expects the 24 rows on screen and receives 10,000, or the reverse
|
||
|
||
---
|
||
|
||
## settings
|
||
|
||
**Settings** · Web app
|
||
|
||
Also called: preferences, account settings, workspace settings, configuration, profile settings.
|
||
|
||
**Non-obvious states for this archetype** (lattice in [state-design.md](state-design.md)):
|
||
|
||
- dirty — a field changed and is not yet persisted; the save model has to be visible in this state
|
||
- conflict — another tab or teammate changed the same setting (state-design.md, Conflict)
|
||
|
||
### Sections with a navigable index
|
||
|
||
_navigation_
|
||
|
||
**Present looks like:** Grouped sections plus a sidebar or tab rail that jumps between them, with the current section marked
|
||
|
||
**How to build it:** Active item marked visibly and with aria-current; muted text that brightens on hover (dashboard.md, Sidebar navigation)
|
||
|
||
**Cost if absent:** The user scrolls a wall of controls hunting for one toggle
|
||
|
||
### A declared save model
|
||
|
||
_feedback_
|
||
|
||
**Present looks like:** Either autosave with a visible saved-state indicator, or an explicit save button with a dirty state — stated, not guessed
|
||
|
||
**How to build it:** Toggle applies immediately; checkbox applies on submit — the control type is the promise (forms.md, Field Layout). Autosave debounces 1–2s and shows a timestamp, never a spinner (forms.md, Autosave)
|
||
|
||
**Cost if absent:** The user changes a setting, navigates away, and cannot tell whether it took
|
||
|
||
### Danger zone, separated
|
||
|
||
_safety_
|
||
|
||
**Present looks like:** Destructive settings (delete account, delete workspace, transfer ownership) in a visually distinct block at the bottom
|
||
|
||
**How to build it:** Never primary-button-style for the destructive action; Cancel is the primary. Prominence belongs to actions you want repeated (forms.md, Destructive Actions Inside Forms)
|
||
|
||
**Cost if absent:** An irreversible action sits at the same visual weight as changing a display name
|
||
|
||
### Type-to-confirm on irreversible deletes
|
||
|
||
_safety_
|
||
|
||
**Present looks like:** The user types the resource name (or ticks an explicit acknowledgment) before the destructive button activates
|
||
|
||
**How to build it:** Friction proportional to blast radius — a misclick must not be able to complete the flow (components.md, Destructive actions)
|
||
|
||
**Cost if absent:** An account, and everything in it, is gone on a mis-aimed double-click
|
||
|
||
### Each setting explains what it does
|
||
|
||
_transparency_
|
||
|
||
**Present looks like:** A line of help text per non-obvious control, saying what changes when it is on
|
||
|
||
**How to build it:** Hints go ABOVE the control, errors below — hints are needed while deciding, and below the field they are covered by autofill menus and the mobile keyboard (forms.md, Error Placement)
|
||
|
||
**Cost if absent:** The user toggles something whose effect they cannot predict, then toggles it back
|
||
|
||
### Unsaved-changes guard
|
||
|
||
_recovery_
|
||
|
||
**Present looks like:** Navigating away or closing with a dirty form prompts before discarding
|
||
|
||
**How to build it:** Escape closes the modal and prompts "Discard changes?" when dirty (forms.md, Keyboard Affordances)
|
||
|
||
**Cost if absent:** A filled form is lost silently to a mis-click on the sidebar
|
||
|
||
### Masked values are still identifiable
|
||
|
||
_transparency_
|
||
|
||
**Present looks like:** API keys, tokens and connected accounts show enough to identify which one is installed (last 4, label, created date) plus a copy action
|
||
|
||
**How to build it:** Never block paste on these fields (accessibility.md). Copy is an explicit action, not a click-anywhere surprise
|
||
|
||
**Cost if absent:** The user cannot tell which of three keys is the live one, and rotates the wrong one
|
||
|
||
### A way back to defaults
|
||
|
||
_recovery_
|
||
|
||
**Present looks like:** Reset-to-default available per section, shown only where something has been changed
|
||
|
||
**How to build it:** Text link, not a button, and absent when nothing is changed — the same discipline as "Reset filters" (dashboard.md, Filter & Toolbar)
|
||
|
||
**Cost if absent:** After experimenting, the user has no route back to a known-good configuration
|
||
|
||
---
|
||
|
||
## search-filter
|
||
|
||
**Search and filtering** · Web app
|
||
|
||
Also called: search, filtering, faceted search, query, find, search results.
|
||
|
||
**Non-obvious states for this archetype** (lattice in [state-design.md](state-design.md)):
|
||
|
||
- no-results — a fork, not a wall (components.md, Search)
|
||
- searching — must look different from no-results, or the two read as the same screen
|
||
|
||
### A no-results state that offers a way forward
|
||
|
||
_state_
|
||
|
||
**Present looks like:** Spelling-adjacent alternatives, popular or recent queries, or a scoped-search escape ("search all workspaces instead")
|
||
|
||
**How to build it:** Design it like any other empty state — explanation plus next action plus a visual (components.md, Search; state-design.md, Empty States)
|
||
|
||
**Cost if absent:** A bare "No results found" ends the session — it is the highest-intent moment on the surface and it dead-ends
|
||
|
||
### Active filters visible outside the filter panel
|
||
|
||
_transparency_
|
||
|
||
**Present looks like:** Applied filters shown as chips over the results, each individually removable, plus clear-all
|
||
|
||
**How to build it:** Every selected option visibly marked plus a one-step clear-all (components.md, Menus & Dropdowns)
|
||
|
||
**Cost if absent:** The user closes the filter panel, forgets a facet is set, and reads a subset as the whole
|
||
|
||
### Result count, and what it counts
|
||
|
||
_feedback_
|
||
|
||
**Present looks like:** A count that names the unit and reflects the active scope and filters
|
||
|
||
**How to build it:** font-variant-numeric: tabular-nums so the number does not jitter as results update (dashboard.md, Metric cards)
|
||
|
||
**Cost if absent:** The user cannot tell a working query returning little from a broken query returning nothing
|
||
|
||
### Query and filters in the URL
|
||
|
||
_navigation_
|
||
|
||
**Present looks like:** The full result state is encoded in the address, so it survives reload, back, and paste into Slack
|
||
|
||
**Cost if absent:** A result set cannot be shared or returned to; the back button silently drops the query
|
||
|
||
### Recent or saved searches, on revisit-heavy products
|
||
|
||
_action_
|
||
|
||
**Present looks like:** Previous queries offered on focus, each individually removable, with clear-all
|
||
|
||
**How to build it:** Individual remove plus clear-all when the product is revisit-heavy (components.md, Search)
|
||
|
||
**Cost if absent:** The user retypes the same query every morning
|
||
|
||
### Loading distinguishable from empty
|
||
|
||
_state_
|
||
|
||
**Present looks like:** A searching state that does not look like the no-results state
|
||
|
||
**How to build it:** Skeleton matching the result layout, shown after 200ms — not a spinner on a blank panel (state-design.md, Loading States)
|
||
|
||
**Cost if absent:** The user reads "still searching" as "nothing found" and abandons before results arrive
|
||
|
||
### Scope stated when search is scoped
|
||
|
||
_transparency_
|
||
|
||
**Present looks like:** The input or its surroundings say what is being searched, and offer to widen
|
||
|
||
**How to build it:** Placeholder shows the content types ("Search projects, people, docs…"), not the word "Search" the icon already says (components.md, Search)
|
||
|
||
**Cost if absent:** The user concludes a record does not exist when they only searched one project
|
||
|
||
---
|
||
|
||
## detail-view
|
||
|
||
**Detail / record view** · Web app
|
||
|
||
Also called: record page, detail page, item view, entity page, show page, drill-in.
|
||
|
||
**Non-obvious states for this archetype** (lattice in [state-design.md](state-design.md)):
|
||
|
||
- not-found vs no-permission — different causes, different copy (state-design.md, Network errors)
|
||
- stale — the record changed under the user while open
|
||
|
||
### A way back that preserves the list
|
||
|
||
_navigation_
|
||
|
||
**Present looks like:** Breadcrumb or back control returning to the originating list with its filters, sort and page intact
|
||
|
||
**How to build it:** Recovery conventions are load-bearing — the logo-links-home rule exists for the same reason (components.md, Navigation)
|
||
|
||
**Cost if absent:** Back lands on an unfiltered, unsorted, page-one list and the user rebuilds their context every time
|
||
|
||
### The record identifies itself, including in the tab title
|
||
|
||
_navigation_
|
||
|
||
**Present looks like:** The record name in the page heading and in document.title
|
||
|
||
**How to build it:** Sentence case; the heading says what this is, not what the section is called (SKILL.md, sentence case default)
|
||
|
||
**Cost if absent:** Six open tabs all read the same and the user closes the wrong one
|
||
|
||
### One primary action, distinct from the record metadata
|
||
|
||
_action_
|
||
|
||
**Present looks like:** The action the page exists for is visually separated from the field values around it
|
||
|
||
**How to build it:** One primary per context — two solid CTAs is a tie, and ties stall (components.md, Tiers)
|
||
|
||
**Cost if absent:** The user scans the record for the verb and finds it below the fold, or not at all
|
||
|
||
### The edit affordance declares its mode
|
||
|
||
_action_
|
||
|
||
**Present looks like:** It is evident whether editing happens inline, in a modal, or on a separate route — and whether the user is currently editing
|
||
|
||
**How to build it:** If putting the task in a modal adds steps versus doing it in-flow, it does not belong in a modal (components.md, Modals)
|
||
|
||
**Cost if absent:** The user types into what they think is an editor and loses it, or edits a value believing it saved
|
||
|
||
### History or activity, where the record is shared
|
||
|
||
_transparency_
|
||
|
||
**Present looks like:** Who changed what, when — at least for the fields that matter
|
||
|
||
**How to build it:** Status as a 6–8px dot inline with text, never a badge/pill (dashboard.md, Data Tables)
|
||
|
||
**Cost if absent:** No answer to "who changed this and when", which is the first question asked when something is wrong
|
||
|
||
### Adjacent-record navigation, on list-driven surfaces
|
||
|
||
_navigation_
|
||
|
||
**Present looks like:** Previous/next through the list the user arrived from, with position ("4 of 32")
|
||
|
||
**How to build it:** Icon right of the label signals destination (components.md, Buttons)
|
||
|
||
**Cost if absent:** Reviewing thirty records means thirty round-trips through the list
|
||
|
||
### Not-found separated from no-permission
|
||
|
||
_state_
|
||
|
||
**Present looks like:** A deleted record and a record the user may not see produce different screens with different next actions
|
||
|
||
**How to build it:** Distinguish offline from 500 from 403 — different causes, different fixes (state-design.md, Network errors)
|
||
|
||
**Cost if absent:** A permissions problem reads as a deleted record and gets reported as data loss
|
||
|
||
---
|
||
|
||
## empty-first-run
|
||
|
||
**First-run / empty product** · Web app
|
||
|
||
Also called: empty state, zero state, blank slate, first use, new account, no data.
|
||
|
||
**Non-obvious states for this archetype** (lattice in [state-design.md](state-design.md)):
|
||
|
||
- first-run vs filtered vs cleared — three different empties with three different CTAs (state-design.md, Empty state types)
|
||
|
||
### It says why it is empty
|
||
|
||
_state_
|
||
|
||
**Present looks like:** Copy naming the reason in the user's terms
|
||
|
||
**How to build it:** "You haven't created any projects yet" beats "No data" (state-design.md, Empty States)
|
||
|
||
**Cost if absent:** An unexplained empty screen reads as a failed load, and the user reloads instead of acting
|
||
|
||
### One next action, primary
|
||
|
||
_action_
|
||
|
||
**Present looks like:** A CTA that populates the state, sized as the page's main action
|
||
|
||
**How to build it:** First-run empty gets the heavy CTA; every empty state is a call to onboard (state-design.md, Empty state types)
|
||
|
||
**Cost if absent:** A dead end at the moment of highest intent — the user just signed up and has nothing to do
|
||
|
||
### A visual, even a small one
|
||
|
||
_state_
|
||
|
||
**Present looks like:** An illustration or at minimum a subtle icon anchoring the block
|
||
|
||
**How to build it:** Prevents the "this page is broken" read (state-design.md, Empty States)
|
||
|
||
**Cost if absent:** Text alone on a blank panel is indistinguishable from a render failure
|
||
|
||
### A path that does not require building from nothing
|
||
|
||
_action_
|
||
|
||
**Present looks like:** Sample data, a template, an import, or a demo workspace
|
||
|
||
**Cost if absent:** The user has to imagine the populated state before committing effort to reach it
|
||
|
||
### Told apart from filtered-empty and cleared-empty
|
||
|
||
_state_
|
||
|
||
**Present looks like:** The three empties do not share one component with one CTA
|
||
|
||
**How to build it:** Filtered → "try removing filters" plus a clear button. Cleared → celebratory or contextual, may need no CTA at all (state-design.md, Empty state types)
|
||
|
||
**Cost if absent:** The wrong CTA for the situation, which reads as the product not knowing what the user did
|
||
|
||
### A secondary route that does not compete
|
||
|
||
_action_
|
||
|
||
**Present looks like:** Learn-more or docs available, clearly subordinate to the primary CTA
|
||
|
||
**How to build it:** Tertiary is text plus underline — the underline is the colour-blind affordance, not decoration (components.md, Tiers)
|
||
|
||
**Cost if absent:** Two equal CTAs on an empty screen is a tie at the exact moment the user needs to be told what to do
|
||
|
||
---
|
||
|
||
## billing
|
||
|
||
**Billing / subscription** · Web app
|
||
|
||
Also called: subscription, plan management, invoices, payment settings, usage and limits.
|
||
|
||
**Non-obvious states for this archetype** (lattice in [state-design.md](state-design.md)):
|
||
|
||
- past-due — the account is failing to charge; distinct from cancelled
|
||
- over-limit — a metered plan exceeded its allowance
|
||
|
||
### The current plan, stated
|
||
|
||
_transparency_
|
||
|
||
**Present looks like:** Plan name, what it includes, and the seat or unit count it is billed on
|
||
|
||
**How to build it:** Amounts use tabular-nums so figures align down the column (dashboard.md, Metric cards)
|
||
|
||
**Cost if absent:** The user cannot tell what they are paying for, which is the first question in every billing support ticket
|
||
|
||
### Usage against the limit, on metered plans
|
||
|
||
_transparency_
|
||
|
||
**Present looks like:** Current consumption shown against the allowance, not as a bare number
|
||
|
||
**How to build it:** A two-segment donut with a centre label is acceptable for a binary proportion — used vs remaining is the one case with a single comparison (dashboard.md, Chart Type Decision Matrix)
|
||
|
||
**Cost if absent:** The first signal of an overage is the invoice
|
||
|
||
### Next charge: date and amount
|
||
|
||
_transparency_
|
||
|
||
**Present looks like:** Both, before it happens
|
||
|
||
**How to build it:** Currency via Intl.NumberFormat, symbol as a prefix affordance (forms.md, Field-Specific Patterns)
|
||
|
||
**Cost if absent:** A charge the user did not anticipate, which is a chargeback and a cancellation in one
|
||
|
||
### Payment method, identifiable and replaceable
|
||
|
||
_recovery_
|
||
|
||
**Present looks like:** Brand and last four, plus a route to update it that does not require contacting anyone
|
||
|
||
**How to build it:** Card entry autoformats in groups of four, detects brand from the leading digits, and moves focus to expiry when the number completes (forms.md, Field-Specific Patterns)
|
||
|
||
**Cost if absent:** An expired card fails the renewal silently and the account lapses
|
||
|
||
### Invoice history, downloadable
|
||
|
||
_action_
|
||
|
||
**Present looks like:** Past invoices listed and retrievable without a support request
|
||
|
||
**How to build it:** The download control states what it produces, the same discipline as a table export (dashboard.md)
|
||
|
||
**Cost if absent:** Finance chases support every month for a document the product already has
|
||
|
||
### Plan change shows the proration before confirming
|
||
|
||
_safety_
|
||
|
||
**Present looks like:** What will be charged or credited today, stated before the confirm, not after
|
||
|
||
**How to build it:** This is the review step from the multi-step contract: summary before commit, with a route back to change it (forms.md, Multi-Step)
|
||
|
||
**Cost if absent:** The user is billed an amount they never saw, on an action they chose
|
||
|
||
### A cancel path that exists and is honest
|
||
|
||
_safety_
|
||
|
||
**Present looks like:** Self-serve cancellation, stating what happens to data and when access ends
|
||
|
||
**How to build it:** Confirmshaming is banned (copy.md, Dark UX). Friction proportional to blast radius, not to revenue (components.md, Destructive actions)
|
||
|
||
**Cost if absent:** Cancellation only by support ticket is a trust failure that outlives the subscription
|
||
|
||
---
|
||
|
||
## pricing
|
||
|
||
**Pricing page** · Website
|
||
|
||
Also called: plans, pricing table, tiers, plan comparison, packages.
|
||
|
||
**Non-obvious states for this archetype** (lattice in [state-design.md](state-design.md)):
|
||
|
||
- annual/monthly toggle — the same page in two configurations, both of which have to read correctly
|
||
|
||
### One plan differentiated as the recommended path
|
||
|
||
_action_
|
||
|
||
**Present looks like:** A visually distinguished tier, not four identical columns
|
||
|
||
**How to build it:** A uniform grid of equal-weight cards is the single most recognisable template shape, and it fails the squint test — the eye has nowhere to land (dashboard.md, Signal-to-Noise Hierarchy)
|
||
|
||
**Cost if absent:** The user has to do the product's job of deciding which plan is for them, and leaves instead
|
||
|
||
### Tiers comparable line for line
|
||
|
||
_transparency_
|
||
|
||
**Present looks like:** The same feature rows in the same order across plans, so difference is readable by scanning across
|
||
|
||
**How to build it:** Shared min-height per row, identical structure per card — mixed heights in one grid read as unfinished (components.md, Cards)
|
||
|
||
**Cost if absent:** The user cannot answer "what do I get for the extra £20" without opening two tabs
|
||
|
||
### Billing period control, with the saving stated
|
||
|
||
_transparency_
|
||
|
||
**Present looks like:** Monthly/annual switch that says what annual saves, in the control or beside it
|
||
|
||
**How to build it:** Two options is a segmented control, not a dropdown (forms.md, Field Layout). A toggle applies immediately — prices update on switch, no submit
|
||
|
||
**Cost if absent:** The annual discount, which is the page's main commercial lever, is invisible
|
||
|
||
### Price transparency: per what, per whom, in what currency
|
||
|
||
_transparency_
|
||
|
||
**Present looks like:** Unit, period, and currency explicit on every price
|
||
|
||
**How to build it:** Intl.NumberFormat per locale; the currency symbol is a rendered prefix, never typed (forms.md, Field-Specific Patterns)
|
||
|
||
**Cost if absent:** The user computes the real monthly cost themselves and assumes the worst reading
|
||
|
||
### Trial or free-tier terms, including whether a card is required
|
||
|
||
_transparency_
|
||
|
||
**Present looks like:** Stated at the CTA, before the click
|
||
|
||
**How to build it:** State what happens next under the CTA — the same rule as the sign-up submit (recipe-auth.md, Sign-up deltas)
|
||
|
||
**Cost if absent:** Abandonment at the card field, after the user already committed to trying
|
||
|
||
### A route for the case not on the page
|
||
|
||
_action_
|
||
|
||
**Present looks like:** Enterprise, custom, or contact path for buyers the tiers do not fit
|
||
|
||
**How to build it:** One CTA in the nav, distinct from the page primary — three levels that must not tie (components.md, Navigation)
|
||
|
||
**Cost if absent:** The largest deals have no route and self-select out
|
||
|
||
### Objection handling next to the decision
|
||
|
||
_transparency_
|
||
|
||
**Present looks like:** FAQ, guarantee, or security/compliance answers on the page, not one click away
|
||
|
||
**How to build it:** Objections resolve last, so this sits immediately before the closing CTA
|
||
|
||
**Cost if absent:** The unanswered objection is what the user leaves to research and does not come back from
|
||
|
||
---
|
||
|
||
## docs-page
|
||
|
||
**Documentation page** · Website
|
||
|
||
Also called: docs, documentation, guide, reference page, api docs, help article.
|
||
|
||
**Non-obvious states for this archetype** (lattice in [state-design.md](state-design.md)):
|
||
|
||
- deep-link arrival — most readers land mid-tree from search, never through the index
|
||
|
||
### Where-am-I is answerable at a glance
|
||
|
||
_navigation_
|
||
|
||
**Present looks like:** Breadcrumb plus the active item marked in the navigation tree
|
||
|
||
**How to build it:** Active page visibly marked, aria-current on it (components.md, Navigation)
|
||
|
||
**Cost if absent:** A reader arriving from search has no map, and cannot tell what this page is part of
|
||
|
||
### On-page outline
|
||
|
||
_navigation_
|
||
|
||
**Present looks like:** The page's headings listed and linked, tracking the reading position on long pages
|
||
|
||
**How to build it:** Depth-2 headings only, built from the document rather than maintained beside it — a hand-kept outline goes stale
|
||
|
||
**Cost if absent:** A long page is unscannable, and the reader cannot tell whether their answer is on it
|
||
|
||
### Previous / next through the sequence
|
||
|
||
_navigation_
|
||
|
||
**Present looks like:** Links to the adjacent pages in the intended reading order, named
|
||
|
||
**How to build it:** Icon right of the label signals destination (components.md, Buttons)
|
||
|
||
**Cost if absent:** The reader returns to the index between every page, and loses the thread of a tutorial
|
||
|
||
### Code blocks that are copyable and labelled
|
||
|
||
_action_
|
||
|
||
**Present looks like:** A copy control per block, the language marked, and horizontal overflow contained
|
||
|
||
**How to build it:** Never block paste (accessibility.md). Wrap in overflow-x: auto with scrollbar-gutter: stable so the block does not shift on scroll (dashboard.md, Data Tables)
|
||
|
||
**Cost if absent:** Hand-retyping a command introduces the typo the reader then debugs instead of the product
|
||
|
||
### Which version this applies to
|
||
|
||
_transparency_
|
||
|
||
**Present looks like:** A version or applies-to marker where the product versions
|
||
|
||
**Cost if absent:** The reader follows instructions for a release they are not running, and blames the product
|
||
|
||
### Search scoped to the docs
|
||
|
||
_navigation_
|
||
|
||
**Present looks like:** An input that searches the documentation, with results that show where each hit lives
|
||
|
||
**How to build it:** Placeholder shows the content type, not the word "Search" the icon already says (components.md, Search)
|
||
|
||
**Cost if absent:** The reader leaves for a general search engine and lands on a competitor or a stale copy
|
||
|
||
### Freshness and a way to report a problem
|
||
|
||
_transparency_
|
||
|
||
**Present looks like:** Last-updated date, plus an edit or feedback route
|
||
|
||
**How to build it:** Quiet tertiary typography — present, not competing with the content
|
||
|
||
**Cost if absent:** No signal whether the page is current, so every instruction is read with suspicion
|
||
|
||
---
|
||
|
||
## checkout
|
||
|
||
**Checkout / payment** · Flows
|
||
|
||
Also called: payment flow, purchase, cart checkout, pay, order flow.
|
||
|
||
**Non-obvious states for this archetype** (lattice in [state-design.md](state-design.md)):
|
||
|
||
- declined — the charge failed; the cart and every entered field must survive it
|
||
- processing — non-optimistic, so this state is real and has to be designed
|
||
|
||
### The order stays visible throughout
|
||
|
||
_transparency_
|
||
|
||
**Present looks like:** A summary of what is being bought, present at every step, not only at the end
|
||
|
||
**Cost if absent:** The user loses track of what they are paying for and re-opens the cart to check, dropping out of the flow
|
||
|
||
### The complete total before the payment step
|
||
|
||
_transparency_
|
||
|
||
**Present looks like:** Tax, shipping and fees resolved and shown before the user enters card details
|
||
|
||
**How to build it:** State the cost upfront — the multi-step contract's first rule (forms.md, Multi-Step)
|
||
|
||
**Cost if absent:** A total that grows at the last step is the single largest cause of checkout abandonment
|
||
|
||
### Progress with a labelled step count
|
||
|
||
_feedback_
|
||
|
||
**Present looks like:** Current step, total steps, and what this step is
|
||
|
||
**How to build it:** "Step 3 of 5: Payment", not "Step 3 of 5" — the label is what makes the count useful (forms.md, Multi-Step)
|
||
|
||
**Cost if absent:** Unknown remaining length is why users abandon at step two
|
||
|
||
### Guest checkout, or a stated reason for the account
|
||
|
||
_action_
|
||
|
||
**Present looks like:** Either purchase without an account, or an explicit reason why one is required
|
||
|
||
**How to build it:** Ask the minimum; enrich the profile later, in-product (recipe-auth.md, Sign-up deltas)
|
||
|
||
**Cost if absent:** A forced signup at the point of purchase intent, which is the worst possible moment to add a form
|
||
|
||
### The card fields assist rather than test
|
||
|
||
_input_
|
||
|
||
**Present looks like:** Autoformatting, brand detection, automatic focus advance, and expiry/CVC paired
|
||
|
||
**How to build it:** Space every four digits, detect brand from leading digits, move focus to expiry when the number validates. MM/YY plus CVC side by side is the one exception to single-column (forms.md, Field Layout and Field-Specific Patterns)
|
||
|
||
**Cost if absent:** The most error-prone field in the product is also the least assisted, and each error costs a retry at peak anxiety
|
||
|
||
### A review step before the charge
|
||
|
||
_safety_
|
||
|
||
**Present looks like:** Everything entered, grouped by section, with a per-section edit that returns here
|
||
|
||
**How to build it:** Edit jumps back to that step and comes back — users catch their own errors more cheaply than servers do (forms.md, Multi-Step)
|
||
|
||
**Cost if absent:** A wrong address or quantity becomes a refund, a return, and a support conversation
|
||
|
||
### The submit waits for the server
|
||
|
||
_safety_
|
||
|
||
**Present looks like:** No optimistic success on the charge, and no possible double-submit
|
||
|
||
**How to build it:** Payments and high-stakes writes always wait for confirmation. Disable the button AND swap its label to "Processing…" with the spinner inside — belt and braces (forms.md, Optimistic Submit)
|
||
|
||
**Cost if absent:** A double charge, which costs more trust than the sale was worth
|
||
|
||
### Failure keeps the cart and the typed data
|
||
|
||
_recovery_
|
||
|
||
**Present looks like:** A declined card returns to the payment step with everything else intact and the reason stated
|
||
|
||
**How to build it:** Keep the in-flight state — never throw away the form the user just filled (state-design.md, Network errors)
|
||
|
||
**Cost if absent:** A declined card that empties the basket converts a retry into a lost sale
|
||
|
||
---
|
||
|
||
## onboarding
|
||
|
||
**Onboarding flow** · Flows
|
||
|
||
Also called: setup flow, getting started, welcome flow, activation, first-time setup, wizard.
|
||
|
||
**Non-obvious states for this archetype** (lattice in [state-design.md](state-design.md)):
|
||
|
||
- resumed — the user left and came back; the flow must restart where they stopped, not at step 1
|
||
|
||
### The cost is stated before step one
|
||
|
||
_transparency_
|
||
|
||
**Present looks like:** How many steps, roughly how long, and anything the user needs to hand
|
||
|
||
**How to build it:** "3 steps, about 2 minutes, you'll need your ID" — before step 1 (forms.md, Multi-Step)
|
||
|
||
**Cost if absent:** Unknown length is the reason users abandon at step two, having already invested in step one
|
||
|
||
### Steps ordered easy to hard
|
||
|
||
_action_
|
||
|
||
**Present looks like:** Cheap questions first, the expensive ask last
|
||
|
||
**How to build it:** Name and email before payment details — early wins build completion momentum (forms.md, Multi-Step)
|
||
|
||
**Cost if absent:** Opening with the hardest ask maximises abandonment before any investment exists to protect
|
||
|
||
### Optional steps marked and genuinely skippable
|
||
|
||
_action_
|
||
|
||
**Present looks like:** A visible skip on any step that is not required, that actually completes the flow
|
||
|
||
**How to build it:** Tertiary text plus underline — findable without competing with the primary (components.md, Tiers)
|
||
|
||
**Cost if absent:** The user quits the product rather than answer a question they could have skipped
|
||
|
||
### Progress, and resume on return
|
||
|
||
_recovery_
|
||
|
||
**Present looks like:** Step position shown, and returning restores the last completed step
|
||
|
||
**How to build it:** Restore to the last completed step, not step 1. Save the draft automatically between steps (forms.md, Multi-Step and Autosave)
|
||
|
||
**Cost if absent:** A user who is interrupted restarts from zero, and the second abandonment is permanent
|
||
|
||
### Five steps at most
|
||
|
||
_action_
|
||
|
||
**Present looks like:** The flow fits inside the number of stages a user can hold
|
||
|
||
**How to build it:** Miller's Law — beyond five the user loses the map (heuristics.md; forms.md, Multi-Step)
|
||
|
||
**Cost if absent:** A flow whose end the user cannot see is one they stop believing in
|
||
|
||
### A first real result inside the flow
|
||
|
||
_action_
|
||
|
||
**Present looks like:** The user reaches something that is theirs — a populated workspace, a first record, a working connection — before the flow ends
|
||
|
||
**How to build it:** Every empty state is a call to onboard; this is the same contract run forwards (state-design.md, Empty States)
|
||
|
||
**Cost if absent:** The user completes setup and arrives at an empty product, which is the same dead end onboarding existed to avoid
|
||
|
||
### Back that preserves everything
|
||
|
||
_recovery_
|
||
|
||
**Present looks like:** Moving back keeps all entered state, on every step
|
||
|
||
**How to build it:** Never re-fetch or reset on back (forms.md, Multi-Step)
|
||
|
||
**Cost if absent:** Correcting one typo costs the whole step, so users push through with wrong data instead
|
||
|
||
---
|
||
|
||
## destructive-confirm
|
||
|
||
**Destructive confirmation** · Flows
|
||
|
||
Also called: delete confirmation, are you sure, confirm dialog, remove, danger action.
|
||
|
||
**Non-obvious states for this archetype** (lattice in [state-design.md](state-design.md)):
|
||
|
||
- undo window — for recoverable actions the confirm should not exist at all; the undo is the design
|
||
|
||
### Friction matched to blast radius
|
||
|
||
_safety_
|
||
|
||
**Present looks like:** Recoverable actions act immediately with undo; irreversible ones require explicit acknowledgment
|
||
|
||
**How to build it:** Low — act plus undo toast. Medium — dialog with verb buttons and the items named. High — type the resource name or tick a box before the destructive button activates (components.md, Destructive actions)
|
||
|
||
**Cost if absent:** A confirm on an undoable action trains the user to click through; no confirm on an irreversible one is data loss
|
||
|
||
### The affected thing is named and counted
|
||
|
||
_safety_
|
||
|
||
**Present looks like:** The dialog says exactly what will be deleted, by name and by number
|
||
|
||
**How to build it:** The affected items are named and highlighted, not summarised as "items" (components.md, Destructive actions)
|
||
|
||
**Cost if absent:** "Delete items?" gives the user nothing to check their intent against
|
||
|
||
### Verb buttons, never Yes/No
|
||
|
||
_safety_
|
||
|
||
**Present looks like:** The confirming button restates the action
|
||
|
||
**How to build it:** "Delete project" / "Cancel". Yes/No forces re-reading the question, and a negatively-phrased question plus Yes/No produces wrong clicks under time pressure (components.md, Modals)
|
||
|
||
**Cost if absent:** A wrong click on an irreversible action, caused by the button labels alone
|
||
|
||
### Consequence and reversibility stated
|
||
|
||
_transparency_
|
||
|
||
**Present looks like:** What else this removes, and whether it can be undone — and for how long
|
||
|
||
**How to build it:** Copy tone per copy.md; no confirmshaming in the cancel path (copy.md, Dark UX)
|
||
|
||
**Cost if absent:** The user cannot calibrate the decision, so they either stall or delete something with dependents
|
||
|
||
### Three ways out
|
||
|
||
_recovery_
|
||
|
||
**Present looks like:** Visible close, explicit cancel, and overlay click — plus Escape
|
||
|
||
**How to build it:** All of them, always, with the focus trap rules from accessibility.md (components.md, Modals)
|
||
|
||
**Cost if absent:** A user who wants out of a delete dialog and cannot find the exit is one keystroke from confirming it
|
||
|
||
### Undo where the action is recoverable
|
||
|
||
_recovery_
|
||
|
||
**Present looks like:** A time-boxed undo after the fact, instead of a confirm before it
|
||
|
||
**How to build it:** Act immediately plus undo toast — friction before a recoverable action is rude (components.md, Destructive actions)
|
||
|
||
**Cost if absent:** Friction is spent in the wrong place: the common case pays for the rare one
|
||
|
||
---
|
||
|
||
## invite-share
|
||
|
||
**Invite / share** · Flows
|
||
|
||
Also called: invite members, share, collaborators, permissions, add teammate, sharing dialog.
|
||
|
||
**Non-obvious states for this archetype** (lattice in [state-design.md](state-design.md)):
|
||
|
||
- partial-send — some invites delivered, some rejected; per-recipient, never per-batch (state-design.md, Partial)
|
||
|
||
### Role chosen at invite time, with each role explained
|
||
|
||
_safety_
|
||
|
||
**Present looks like:** A role selector alongside the recipient, saying what each role can do
|
||
|
||
**How to build it:** Two to five options is radios or a segmented control, stacked vertically — not a dropdown (forms.md, Field Layout)
|
||
|
||
**Cost if absent:** Everyone gets the default role, which is either admin (a security problem) or read-only (a support ticket)
|
||
|
||
### More than one invitee per pass
|
||
|
||
_input_
|
||
|
||
**Present looks like:** Several addresses entered or pasted at once
|
||
|
||
**How to build it:** Never block paste — a pasted list is the whole point (accessibility.md)
|
||
|
||
**Cost if absent:** Onboarding a team of ten means ten identical round-trips
|
||
|
||
### Pending invites visible and revocable
|
||
|
||
_safety_
|
||
|
||
**Present looks like:** A list of who has been invited but not joined, with revoke
|
||
|
||
**How to build it:** Status as a 6–8px dot inline with the text, not a badge or pill (dashboard.md, Data Tables)
|
||
|
||
**Cost if absent:** No record of outstanding invitations, so an ex-contractor's invite stays live indefinitely
|
||
|
||
### Copy-link alternative that states its scope
|
||
|
||
_safety_
|
||
|
||
**Present looks like:** A shareable link, with what it grants and to whom said before the copy action
|
||
|
||
**How to build it:** Decoration must never impersonate function — a link that grants access looks and reads like one (components.md, Text Links)
|
||
|
||
**Cost if absent:** A link that grants more than the user believed, pasted into a channel they thought was private
|
||
|
||
### Confirmation of what was sent, to whom
|
||
|
||
_feedback_
|
||
|
||
**Present looks like:** A success state naming the recipients
|
||
|
||
**How to build it:** Success is visual and textual, and does not vanish in a second (state-design.md, State Lattice)
|
||
|
||
**Cost if absent:** The user cannot tell whether it worked and invites the same people again
|
||
|
||
### Failures reported per recipient
|
||
|
||
_recovery_
|
||
|
||
**Present looks like:** One bad address fails only itself, with a retry on that row
|
||
|
||
**How to build it:** Show what succeeded, mark what failed per item, retry the failing piece without redoing the rest (state-design.md, Partial)
|
||
|
||
**Cost if absent:** One typo silently fails nine valid invitations, and nobody finds out until the meeting
|
||
|
||
### Resend with a visible cooldown
|
||
|
||
_feedback_
|
||
|
||
**Present looks like:** A resend action that says when it becomes available again
|
||
|
||
**How to build it:** "Didn't receive? Resend in 30s" with the countdown visible (forms.md, Field-Specific Patterns)
|
||
|
||
**Cost if absent:** The user hammers resend, the recipient gets six emails, and the provider throttles the domain
|
||
|
||
---
|
||
|
||
## Cross-refs
|
||
|
||
[state-design.md](state-design.md) state lattice · [forms.md](forms.md) validation, multi-step, autosave ·
|
||
[components.md](components.md) buttons, menus, modals, search, destructive ladder ·
|
||
[dashboard.md](dashboard.md) tables, toolbars, signal-to-noise ·
|
||
[finish-bar.md](finish-bar.md) the distinction axis this is reported beside
|