Lookbook
Every unit built in this repo, with its previews and props. Names, props and enum values follow the design canon (docs/design-canon.md), so converting to the app is a lookup. 53 built; every canon unit has an entry.
Guides
- Design principlesRead →
The nine principles every screen follows, and the visual rules (volume, earned saturation, navy vs mustard, the disclosure ladder).
- Design canonRead →
What is canon and in what order, the token set, and the component vocabulary with its props and enum values.
- Page layoutsRead →
Page regions ① to ⑨, the Index, Entity, Document and Overview templates, and how each region behaves at each width.
- UX guidesRead →
Recurring UX decisions settled once, with the test to apply and the cases that look like exceptions. First guide: banner or toast?
- Pattern backlogRead →
What the workshop and research documented, with where to find it when a feature needs it. Rows marked built have left the backlog and name the unit that holds them.
Foundations
- ColorsMerged in the app6 previews
Canon palette. Brand and stone carry the identity; surfaces set page and card backgrounds; status and area spokes are semantic.
- TypographyMerged in the app2 previews
Poppins for headlines (600, never bold), Inter for body. Use the fixed text-ui-* scale, never bare text-sm/base — those are root-relative.
- Radius and shadowMerged in the app2 previews
The brutalist pair: 2px borders, hard offset shadows, no blur.
- IllustrationsOutside the canon2 previews
RoasterTools' illustration set (2026-10-28): neo-brutalist duotone drawings after Harvest's spot illustrations, leaning into the system's own look — heavy stone-dark outlines (3 on the grid, details 2), flat white and sand fills, one mustard accent per drawing, and a hard ink offset shadow under the main object, the drawing's shadow-brutalist. No text, no gradients, no scenery. Spots are drawn on a 96 grid and shown at 48–96px (empty states, small banners); scenes on 240 × 144, shown at 240–320px wide (the plan gate's upsell, page-level empty states). The paints are four tokens (illustration-ink, -paper, -tint, -accent) read as --illustration-* variables, so a container can recolour the accent. Drawn and checked with the roastertools-illustrations skill: sources in design-system/illustrations/src, built by npm run illustrations:build into components/illustrations/library.ts and public/illustrations.
- TexturesOutside the canon1 preview
Quiet background patterns for a panel that carries an illustration or an upsell (2026-10-28, after Harvest's striped panels): bands, a graph-paper grid, dots, hatching and coffee beans. Each draws only the pattern, at 6–14% ink or white, so it sits on the container's own fill — surface-warm, mostly. Never behind a table, a form or body text: a texture is for a panel that is mostly picture. Plain CSS classes (rt-texture-*), so they move into the app as they are.
Components
- IconMerged in the app5 previews
Font Awesome Pro 7, through the account's kit (2026-10-05). It renders an <i> with the family and name classes — <i class="fa-light fa-house"> by default, <i class="fa-duotone fa-regular fa-house"> with family duotone — and the kit nests the SVG inside it; names are Font Awesome's own (house, not the FA5-era home-alt). The default family is light, as the canon's Icon row has it: duotone is chosen per call site (Button's rule, duotone where the glyph is a picture and solid where it is a mark), not inherited. This replaced the inlined copies of the app's vendored FA5 SVGs in public/icons — the kit is not domain-locked, so it works on localhost and on Vercel as is, and it unblocks the FA6/7 glyphs the design uses (sidebar, pen-to-square) that the FA5 set never had. With the default color the glyph (duotone's primary layer) rests at stone-light and goes to stone on a group hover; a duotone's secondary sits at 40% and takes hover_secondary_color at full opacity, which is the catalog rt-icon behaviour done in CSS rather than with mouse listeners. LEGACY_NAMES in the component maps every FA5 name this prototype used, so an un-migrated call site still resolves and warns — it is also the rename list Ui::IconComponent needs.
- ButtonTo build in the app9 previews
Canon button. Primary and secondary carry the brutalist lift; ghosts and link are flat. Icon-only buttons show their title as the canon Tooltip on hover and focus; a split button with a menu opens a Popover from its kebab. Tertiary and split carry the 1px stone-400 outlined-control line (stone-300 until DES2-11, 2026-10-23; the split's divider stays stone-300) — semibold label, solid icons, darkening to stone-500 on hover (2026-09-26); ghosts have no border. Glyphs are duotone where the icon is a picture — a pen, a printer, a bin — and solid where it is a mark, because duotone's 40% secondary falls between a body and its detail on one and across the stroke itself on the other (2026-10-05; this replaced solid-only and the regular default that followed it). Disabled is low contrast in every direction — stone-200 fill, a border of the same value so there is no edge, stone-400 label — and the filled variants keep their 2px border so the primary action still reads as the primary action (P8). Every branch forwards ref and rest props, so a Button is a valid Radix asChild trigger as a button or a link.
- TooltipTo build in the app6 previews
Canon tooltip from the catalog's rt-tooltip: level 1 of the disclosure ladder, a read-only line of text that hover or keyboard focus reveals and Escape dismisses. Inverted panel (stone-dark on a 2px mustard border, brutalist-sm shadow) with a matching arrow. Built on Radix Tooltip with a Provider per instance; the catalog's text-sm is text-ui-sm here. Icon-only Buttons carry one automatically from their title. The canon points this at the floating-tooltip controller, which has no arrow or border (conflict 16, see HANDOFF).
- PopoverTo build in the app8 previews
Canon popover from the catalog's rt-popover: level 2 of the disclosure ladder, a click (or hover) opens an anchored panel that holds anything from a three-item menu to an inline form. Brutalist shell (white, 2px stone-dark border, rounded-lg, brutalist-sm shadow) with an arrow that shares the border, at z-50 per the Beacon rule. Click mode is Radix Popover (outside click and Escape close it, focus returns to the trigger); hover mode is Radix HoverCard with the same markup, opening on hover and keyboard focus and staying open while the pointer crosses into the panel (the lifecycle bar's step cards and the sync card use it). On -start and -end placements the arrow is pinned arrow_inset from the panel's aligned corner by a rule in app/globals.css (2026-09-25), as the catalog does; Radix alone keeps it centred on the trigger, which on a wide trigger pointed at nothing. Canon deviation (conflict 11): the canon's row calls the mode `trigger`, which collides with the trigger slot, so here the slot is `trigger` and the mode is `interaction` — the name the app's PopoverComponent already uses, and the one to build Ui::PopoverComponent with (interaction: :hover). Menu recipes: the catalog's Tailwind grey 200 dividers and red 50 hovers are stone-200 and status-error-bg here (conflict 7).
- BadgeTo build in the app4 previews
Canon status pill from the catalog's rt-badge. Eight statuses; a coloured dot or a solid icon leads the label. Respellings from the catalog: 13px text with px-3 py-1 is ui-xs with px-2 py-0.5 here (the app's tw-text-sm pills are 12.25px, so this matches their density); the border is the status dot token at /25 (neutral /30) instead of a hex; ready and shipped use the new status-ready-* and status-shipped-* tokens instead of inline hex. The mocks' bordered .badge is superseded (conflict 3).
- TextLinkOutside the canon4 previews
Outside the canon vocabulary; from the catalog's rt-links style guide. Every text link shares one hover treatment, a dashed underline that fades in (exported as DASHED_UNDERLINE_CLASSES). Four kinds: inline copy and entity IDs in rust, entity names and table actions in navy. Respellings from the catalog: table-action no longer pins a size (the DEV-3250 branch's 12px is below the canon's ui-sm floor, so it inherits its row's size); hover:text-navy-dark is dropped (not a token), so navy links keep text-navy and the underline reveal carries the hover (conflict 6). Translation watch-out: Tailwind 2.2 has no decoration-* or underline-offset-* utilities, so the app needs one .tw-link-dashed CSS rule; Button's link variant has the same gap. Every TextLink carries data-text-link (2026-10-28), so a container can recolour its links without catching a Button rendered as a link: inside a status Banner it takes the banner's colour.
- CardOutside the canon5 previews
Outside the canon vocabulary; from the workshop's Volume Control system. Three levels of visual loudness (featured, standard, quiet) with the rule "one loud thing per view": featured carries the 2px stone-dark border and the brutalist shadow; standard carries the same 2px line without the shadow; quiet is a stone-25 fill on a 1px stone-400 edge (white on stone-300 until DES2-11, 2026-10-23), for dense content and reference columns. Back to the workshop's weights on 2026-10-02: standard had been flattened onto quiet because several cards on a page made the heavy line read as noise — a real problem with the wrong fix, since the foundation answers it by having fewer cards. The card count on a page is now the thing to watch. The footer mirrors the header: same p-4, same rule, flush to the frame (it used to sit on a surface-muted strip, which made it heavier than the header it answers to). Those rules follow the frame they sit in (2026-10-05): on a standard or featured card the header's bottom and the footer's top are 2px stone-dark, the weight of the box around them and of the rule under a table head, while a quiet card keeps the stone-200 hairline — inside a 1px stone-400 frame a black 2px rule would be the loudest line on the page. Pass `volume` to CardHeader and CardFooter to match the Card they sit in. CardHeader takes an optional `icon` on a tinted tile, themed by `icon_theme`: rust (default, warm tile) or navy (the canon's "chosen" colour, for a container that explains or refers rather than one you act on). See HANDOFF.md.
- TableOutside the canon9 previews
Data table from the workshop's Priority 2: Data Tables, as one unit with sub-parts (Table, TableHead, TableHeaderCell, TableBody, TableRow, TableCell, TableSelectCell, TableActionsCell, TableFoot). TableFoot (2026-10-05) is the summary band under the rows — a document's totals, a list's sum: a <tfoot> row with the head's 2px stone-dark rule mirrored and a surface-bg fill, so it brackets the rows rather than being one more of them. It is inside the frame on purpose, as the reference order page renders its summary figures in the same container as the line-item table. Row tint decision (conflict 9): checkbox-selected rows are navy/5 from the bulk bar spec (navy = chosen) and the row open in the side panel is mustard/10 from the workshop (mustard = you are here). Respellings from the workshop (conflict 7): Tailwind grey 200 dividers → stone-200, grey 50 row hover and cancelled background → stone-50, text-xs → text-ui-xs, the kebab's p-1.5 grey-hover button → the icon-only Button (which keeps its tooltip), heroicon SVGs → Icon. Back to the workshop's weights on 2026-10-02: a 2px stone-dark frame, a 2px stone-dark rule under the head, uppercase semibold ui-xs column names in stone on the surface-muted band, and cells at px-4 — all of which had been softened to a 1px frame, sentence-case ui-sm heads in stone-light between 2026-09-24 and then. The cell's own size went back to ui-sm on 2026-10-06: the frame, the head rule, the heads and the page title all stay where the reset put them, but the rest of a record page had moved under the table — the Document rail is 10/12px and a document's transaction rows are ui-sm — and a 16px cell was the one thing on the page set larger than the prose around it. py-3 against the 20px line keeps the ~44px row. `uppercase tracking-wider` is repeated on the sort button because a <button> does not take the cell's text-transform. Outside the canon vocabulary; overlaps Ui::HeaderCellComponent on the DEV-3250 branch (conflict 12).
- Stacked listOutside the canon3 previews
A table's rows for a narrow screen (2026-10-15): one record per row, three stacked lines instead of columns, and no sideways scroll. Below a list's breakpoint the page renders a StackedList in the table's place (Table's `stack_below` hides the table; StackedList's shows the list) — Transactions, Payouts, Credit Memos and a payout's transactions below lg, the record pages' item tables and the settings lists below md. The anatomy is fixed so every list reads the same way on a phone: the record and its amount; who it belongs to and what, with its status at the end; quieter facts (kind, method, date) with a second state at the end (the sync). The whole row is the link to the record — a stretched link on the title — so a row is one large target; a customer or an order is one more tap away, on the record, and so are the fees, notes and IDs a desktop column holds (P9: desktop adds columns, not content). When the list is in date order, StackedListGroup bands name the day and the rows drop their date (Mercury, Up, Grab). Rows, not cards: Shopify admin, Stripe and Mercury keep one container with hairlines; the apps that box each record (Deel, StubHub) fit one or two per screen. A selectable list keeps its boxes in the `leading` slot, and the BulkActionsBar floats at the foot of the screen with a Select all. A table whose rows are a form does not stack — it reflows (Table `reflow_below`), because a second copy of each input would submit twice. Outside the canon vocabulary.
- FieldsTo build in the app7 previews
Brutalist form controls: seven thin wrappers over native elements. The CSS classes .input-brutalist (focus ring, plus .input-error), .checkbox-brutalist (rust when checked, bar when indeterminate), .radio-brutalist (navy) and .switch-brutalist (navy) live in app/globals.css; the look (1px stone-400 border on the text controls, kept on focus, 2px stone-dark on the small marks, surface-muted background, mustard focus outline) is utility classes on the element, as in the catalog.
- ComboboxOutside the canon3 previews
A Select you can type in, for the lists a real account makes long — products, customers, jurisdictions. Outside the canon's vocabulary; flagged in HANDOFF.md for a new row. Deliberately not a new shape: same trigger box as Select, same height ladder, same chevron, so a form reads as one thing and swapping one for the other only adds the ability to type. The panel is the canon Popover (2px stone-dark, brutalist shadow), sized to the trigger, holding shadcn's cmdk list reshaped to the tokens. Mustard marks the row the keyboard is on ("you are here right now"); navy checks the row that is chosen ("you have chosen this"), as in the sort menu. In the app this is tom-select through the existing tom_select controller — a <select> with a controller attached, not this markup.
- PaginationTo build in the app8 previews
Canon pagination from the catalog's rt-pagination, structured like Pagy's nav so the app can style it as a Pagy template. Info text left, prev/next and page numbers right; under sm the numbers hide and a compact current / total sits between the arrows. Renders nothing for a single page. Respellings from the catalog: text-sm is ui-sm; the gray 300/200 borders are stone-300/200, and Prev/Next's line is stone-400 with the other outlined controls since DES2-11 (2026-10-23). Prev/Next keep the catalog's text arrows.
- Lifecycle barTo build in the app7 previews
Canon lifecycle bar from the catalog's rt-lifecycle-bar: observational state progression for a system-managed entity (order, invoice, batch), not a wizard stepper. The system moves the entity; the user reads where it sits. **Fuller form, left-aligned (2026-10-07):** each step is a dot with its label under it, laid out the way the foundation's R6955 order page does — starting on the title's left edge, the first label flush to it. The compact one-row form (2026-10-05) read as a strip of tags. No dates on the bar, as R6955 has none: a step's date belongs in its card. Each step is a column as wide as its label; its dot row is [half trail][dot][half trail] and a 40px connector joins the columns, so the line runs dot to dot whatever the label widths (80px across a group boundary). **A step can open a card** (`card`): a click Popover with a heading, a quiet line, label/value rows and a footer band for the step's one action — R6955's "Pending Approval" card. A step with a card shows the dashed-underline reveal on its label. Completed steps carry the group colour and a check (20px), the current step a mustard ring with a pulsing dot (24px; or an error ring with a warning icon), future steps a dashed outline. The current step's detail is the one second line, under its label — P7 wants a failed sync on the bar, not behind a click. Respellings from the catalog: labels are ui-xs; group -text colours are the -deep tokens; the 700 weight is font-semibold. The workshop wizard stepper is a different, user-driven unit (conflict 4).
- ModalOutside the canon2 previews
From the pattern backlog (workshop Modals and Dialogs), built because the Invoicing pages need Refund, Unapply and Remove confirmations. Header, scrollable body, sticky footer, four sizes; ConfirmModal is the P3 soft block. Built on Radix Dialog; the app has the modal and turbo_frame_modal controllers.
- SlideoverOutside the canon1 preview
The disclosure ladder's level 3 (2026-11-10): a deep edit or a record summary, opened from the right without losing the list behind it. Built for Collect payments' pay drawer, which is production's order payment drawer (448px, `tw-max-w-md`). Header with the title and a close, a body that scrolls, and a footer band that stays put for the panel's actions. A floating surface, so it keeps the 2px stone-dark edge on the side that floats, but not the brutalist shadow, whose offset would fall off-screen. Full width under sm. Built on Radix Dialog, as Modal is. Outside the canon vocabulary.
- Empty stateOutside the canon3 previews
From the pattern backlog (workshop Empty States), built for the Invoicing lists: a large centred form for an empty table body (filtered and unfiltered copy) and a compact inline form for a section inside a card.
- BannerOutside the canon2 previews
From the pattern backlog (workshop Banner Component), built for the Invoicing pages: a status-coloured notice under the page header (Payment Types' convenience-fee note) or at the top of a Document page as its conditional alert (sync failed, disputed). Same tokens as Badge. A banner states what is true about the record or the page; what the person's own click just did is a toast instead — see the UX guide "Banner or toast?". A TextLink in a banner takes the banner's own colour (2026-10-28, by request), its dashed underline at half strength at rest and full on hover: rust beside the status colour read as a second signal. Buttons keep theirs; the action that has to be taken is Button contrast.
- Plan gateOutside the canon2 previews
One pattern for a setting the account's plan may not include, whether it is part of a higher plan (Pro) or an add-on bought on its own (2026-10-28, "Invoicing Settings – Recommended Structure"; Credit Memos is the first to use it). Not included: the page opens on this featured card — what the feature does, what unlocks it, a primary Upgrade to Pro / Add Credit Memos and a tertiary Compare plans / See pricing — and the settings under it stay visible but disabled, each with the reason (P8). It is the page's one featured container because it is the page's one call to action. The shell nav marks the section with the same icon whether or not the account has it (NavPage entitlement: a gem for a plan feature, a puzzle piece for an add-on). Included: PlanGate renders nothing, and the container that holds the feature carries a PlanBadge in its header instead. The two kinds differ only in their words and icon, so the app needs one component and one entitlement check. On the Settings pages the Plan preview panel (DialKit, prototype only) flips Credit Memos between Pro plan, Not on Pro, Add-on not bought and Add-on bought. Entitlements: the app has the model (plans, features and plan_features, add_ons and plan_add_ons, account_features and account_add_ons); the prototype lacks the data of which plan includes what, so the plan is called Pro, as the brief does (lib/types/plan.ts). Outside the canon vocabulary.
- Plan badgeOutside the canon1 preview
Where a feature comes from, in the header of the container that holds it, once the account has it (2026-10-28): a gem and "Pro" for a plan feature, a puzzle piece and "Add-on" for one bought on its own — the marks the shell nav carries after the section's name. Mustard with ink text on a stone-dark edge (by request), the same mark as the upsell's — it overrides the neutral Badge rather than adding a status, because a plan is not a status; its Tooltip says it in full ("Included in your Pro plan", "An add-on on your subscription. Manage it in Billing."). When the account does not have the feature the page opens on PlanGate instead, and PlanGate renders nothing once it does. Outside the canon vocabulary.
- Add-on upgradeOutside the canon16 previews
The reusable pieces for selling and running an add-on (2026-11-12), applied first to Advanced Invoicing — credit memos, one payment for many invoices, and Auto Pay when it ships; $99 a month or $990 a year, $49 a month at launch, free for 30 days, included on Scale and above. One page per add-on, in whatever state the account is in, and every door leads to it: a locked feature's own route shows it in place (AdvancedInvoicingTakeover), led by that feature; the add-on's page is /account/add-ons/advanced-invoicing. Without the add-on it is the pitch (AddOnPitch): the scene, the title and line of the capability the person came for, the mark, Start free trial with the terms beside it (one click: card on file, free to cancel), Compare plans, then everything in the suite (AddOnCapabilities), what happens when you start (AddOnSteps) and the questions that stop a trial starting (AddOnQuestions). A team member gets Ask an admin to add it. With it: the setup (AdvancedInvoicingSetupCard, featured right after the trial starts), where the account stands (AddOnStanding: trial, paying or included) and what it includes, linked. It grew out of PlanGate, which sells one feature of a higher plan and stays for that. Cancelling (CancelAddOnDialog): when it ends, what stops and what keeps working, and the open credit memos as a choice defaulting to keep; the add-on runs to the end of the trial or the period paid for, with Keep it. Ended: the pitch returning, with Reactivate behind a confirm; Credit Memos keeps its list with a banner (CreditMemosEndedBanner), New Credit Memo locked (NewCreditMemoButton) and applied memos view-only. Not yet designed: the trial banner on feature pages, the nav tree's mark and the Add-ons list. Outside the canon vocabulary.
- Collect run barOutside the canon3 previews
The bar across the top of an invoice while you go through a list of them one at a time (2026-11-12, after the By invoice review, whose reference was HubSpot's task queue). Left: back to the list and "Collecting payments" with what the run has done so far. Right: Previous, "Invoice 3 of 12", and one forward action — Skip while nothing has been done to the invoice, Next once something has (a payment, a credit applied, a payment request, the invoice emailed). It never moves on by itself: after a payment you may still email the invoice or sync the payment. Skip is tertiary; Next is the primary, since by then the panel's Charge has gone. On the last invoice they read "Skip and finish" and "Finish". A 2px navy line along its foot shows how far the run has got. Sticky: under the App band below lg, at the top of the page card from lg; 64px. In context: open any order on Collect payments › By invoice, or Start collecting. Outside the canon vocabulary.
- Illustration placeholderOutside the canon1 preview
Where an illustration goes until its drawing exists (2026-10-28, prototype only; the set itself is on the Illustrations page). It holds the size and place so a page is designed around the picture — the plan gate's upsell first; empty states and onboarding are the likely next — and says it is a placeholder, with the subject and the size the illustration needs. A dashed rust/40 edge on a white wash and a duotone rust icon standing in for the picture, so it is never mistaken for content. The illustration set itself is an open item.
- Setup guideOutside the canon5 previews
The small standing form of production's setup checklist (accounts/onboarding_hovercard), moved out of the dark top bar into the sidebar footer above the account row, where the frame keeps it in view without it ever asking for the page. A featured card — 2px stone-dark, hard ink shadow — holding the title, meter and count, opening the seven steps in a Popover; a 40×40 button with a rust dot on the icon rail. Four changes carry over from the production view: hover becomes click (the hovercard was a Level 1 disclosure holding Level 2 content), incomplete steps lose their red circle (red is error, not “not yet”), each row links to the page that completes the step rather than only to a help article, and dismissal is a click with an Undo toast rather than a confirm() that cannot be walked back.
- ToastOutside the canon3 previews
From the pattern backlog (workshop "Toast Notifications"), built for the flash after a save. The backlog records the dark variant as canonical over the light status-bg one, so the panel is always stone-dark and colour is carried by a 2px status-coloured border and the icon: a run of toasts reads as one stack. A floating surface, so it is loud by the canon's Surfaces rule — the 2px line plus shadow-brutalist-sm, the same as Popover and Modal. Stacked top-right in a z-50 container (above the Beacon tier), max-w-sm, newest last. Principle P4 asks for an undo window of at least 10 seconds on an actionable toast, so a toast with an action lives 10s and a plain one 5s; the timers are the only behaviour. ToastProvider wraps the app (it is mounted in AppShell) and useToast().toast(...) raises one — in Rails the flash is server-rendered into the layout's container and the toast controller runs the same timers, so only the plumbing differs. When a toast rather than a Banner: see the UX guide "Banner or toast?" — a toast reports what the person just did, a banner what is true about the page. Reference use: /invoicing/settings/payment-types, where a drag reorder raises an actionable toast and a toggle raises a plain one.
- MetricOutside the canon3 previews
From the pattern backlog (workshop Metrics Grid), built for the Invoicing Overview and the Payout summary: label, value, detail line; a MetricGrid lays several out. No sparkline (charts are phase 2). A metric that summarises a list links to it (P6).
- MeterOutside the canon3 previews
Outside the canon vocabulary; added 2026-11-12 when Tax Setup's product tax codes became the third meter in the prototype (Convenience Fee's "Customers who pay a fee" was the second, the setup guide's 4px rust bar the first and keeps its own). How much of a whole is done or chosen: 12px, the Overview aging bar's height, a navy fill (what you chose) on a stone-200 track, never a status colour. Say what is missing in words beside it. role="meter" with the value as words ("13 of 15").
- SegmentedControlOutside the canon2 previews
Outside the canon vocabulary; added 2026-10-07 for the Invoicing Overview's period picker. One choice from a few, every option visible, the chosen segment navy (DESIGN.md: navy says "you have chosen this"). An outlined control: 1px stone-400, the buttons' and fields' line (2px until 2026-10-13, stone-300 until DES2-11 on 2026-10-23), with stone-200 dividers between segments, flat, 32px (sm) or 36px (md), ui-sm semibold labels. A radio group underneath: arrow keys move the choice, and only the chosen segment is in the tab order. In the app the segments may well be links (?period=30) that re-render the page, rather than client state.
- PeriodControlOutside the canon1 preview
The reporting period: a SegmentedControl of 7, 30 and 90 days plus Custom, which opens a Popover (anchored to the whole control, so only Custom opens it) with the Calendar in range mode — two months from lg, one below, nothing after today — and a footer band with the picked range, Cancel and Apply. Lifted out of the Overview's Period overview on 2026-10-13 so the index pages' summaries share it. Controlled: the caller decides where the value lives (the Overview writes a custom range to the URL; the Transactions summary holds it in state). The window a value means is lib/period's periodWindow, the same edges for a preset and a hand-picked range.
- SummaryCardOutside the canon2 previews
A card in the summary row above an index page's list (2026-10-13, the Invoicing index pages): label, value, one line of detail, and a (?) after the label whose tooltip says which kind of number it is — a period ("Last 30 days"), a balance ("As of today") or something to fix ("All dates") — plus whatever the one line leaves out (2026-10-27, Danielle: one key fact per card; the scope had been a line at the foot). With onSelect it filters the list under it, Stripe's model: a control (its edge darkens to stone-500 on hover) that goes navy when chosen — ring-1 doubling the line, a navy/5 wash, a filter mark — and is a toggle button (aria-pressed). The list's filter pills are the state; the card is chosen when they match its filter, so removing the pill deselects it. Without onSelect it is reference, and can carry an action link instead. Either way it is a card: a stone-25 fill on a 1px stone-400 edge (DES2-11, 2026-10-23; it was white, on stone-300 with onSelect and stone-200 without). The rule it is built for: the number on a card equals the rows its filter shows.
- TimelineOutside the canon2 previews
From the pattern backlog (Timeline / Activity Feed), built for Payment activity and Credit memo History. Rendering pick: variant-a-fullpage.html's status-token nodes (status-*-bg circle with a status-*-text icon) on a stone rail, so it shares Badge's tokens. Newest first.
- Date fieldOutside the canon3 previews
From the pattern backlog (Date Picker), built for the filter panels and the report forms. Adapted from shadcn's calendar (react-day-picker): its DayPicker structure and classNames map, reshaped to the canon — our Icon instead of lucide, plain buttons instead of shadcn's Button, navy for the chosen day ("you have chosen this") and a mustard ring for today ("you are here right now"). DateField is the canon field as a trigger with the Calendar in a Popover; its value is an ISO yyyy-mm-dd string, so it drops into query params unchanged. The app keeps flatpickr, restyled to these tokens.
- Inline editOutside the canon4 previews
A field you change where it is shown. The rule: an annotation edits in place, a field the record's arithmetic depends on edits in the form. A credit memo's reason and its notes cannot make the totals wrong, and sending someone to a full edit form to fix a typo in a note is the friction P4 (Recovery Over Prevention) calls a failure — the fix should be one click from the thing. It is the disclosure ladder's level 0, under the tooltip: one field is less content than a popover is a container. Nothing is drawn at rest, so a rail of these still reads as text you consult: the affordance is a pencil that fades in on hover and focus, to the right of the value in the row's reserved 20px gutter, over the system's dashed-underline reveal on a single-line value and a stone wash on a note (the underline repeated down four wrapped lines reads as ruled paper). The gutter is reserved rather than opened on hover, because sliding a wrapped value left to let the glyph in re-flows the paragraph and jumps every row under it. Escape and Cancel discard; nothing is destructive, so there is no confirm. A disabled field keeps its value visible and puts the reason in a Tooltip (P8), rather than hiding that it is editable at all. A save is confirmed in place: the glyph slot shows a green circle-check for 2s and an aria-live line says "<label> saved" — no toast (docs/ux-guides.md).
- Copy valueOutside the canon3 previews
Click-to-copy for record numbers, tracking IDs and reference codes: the workshop's Copy Button exactly (2026-10-08). The rule: a value you paste somewhere else gets a copy, a value you only read does not — not amounts, dates or names. The whole mono value plus the icon is one button (px-2 py-1, rounded-md); the icon rests at 40% stone and goes stone-dark on hover, with a surface-muted wash on the whole button. Copied swaps the icon for a check and the whole button to status-success-bg for 2 seconds. Icon 16px by default, 14px in inline and table contexts. Feedback stays in place rather than a toast, with an aria-live line for screen readers. A value that must stay a link keeps its link and gets the icon-only form of the same button beside it.
- Invoicing status badgesOutside the canon8 previews
The status wrappers the Invoicing pages put on Badge, one per production helper: payment status (with the refund override), a refund's own state, a transaction's sync badge, payout status, credit memo availability and the composite accounting status. Feature components, not canon units: each is a Badge with a status → (status, icon, label) map, so the canon unit is Badge and these are its mappings. Every enum value is rendered here, so this is the visual proof of the status → Badge mapping in HANDOFF.md. RefundStatusBadge (2026-10-13) is a refund's state on the Transactions list's refund rows and the transaction page's Refunds table; a failed one says why in a Tooltip. Production has no refund pill of its own — Orders::HistoryTimelineComponent maps refund.status onto payment_status_badge (refund_pending, refunded, refund_failed). SyncRecordsBadge (2026-10-13) is what the pages render for sync: on the Transactions list's Sync Status column, the transaction page's rail and a credit memo's Transactions rows. It names the record — INV, PMT or CM, then the state ("INV Synced", "PMT Queued", "CM Reconnect") — because one transaction can sync several: a credit applied to an order is a payment in QuickBooks linking the memo to the invoice. A record that is not synced wins (failed, then the setup states, then waiting, then queued, then skipped), so a failure never hides behind an older success; when all are synced it names the latest. One state vocabulary and one colour each: the credit memo's accounting states plus a payment's skipped (sync_failed reads as failed), with in progress (Queued) blue and waiting (Syncable) orange everywhere — the two old badges had them swapped. Hover or focus opens the sync card (SyncDetails, the Lifecycle bar's step card): the state as a title, the latest sync or the problem as its line, a row per record with the badge's record first, and a footer for the one action. SyncStatusBadge (payment_transactions/_sync_status's pill, the old mapping) is retired: SyncRecordsBadge replaced it on every page on 2026-10-13, and it is kept here, last, only as the record of what production draws today.
- BreadcrumbTo build in the app4 previews
Canon ancestry navigation from the catalog's rt-breadcrumb. Shows the path to the current page and ends on the page itself (2026-10-13, the client's call from the Overview; it was ancestors only, "never the current page"): the ancestors are links, the last segment is stone-600 text, like the links, with aria-current=page and no href, so it says where you are without pretending to be somewhere to go. A record page ends on the record's identity — a credit memo's number, a payment's transaction identifier (Invoicing › Transactions › R-PM1002, not its amount), a payout's deposit date (its ID until it is deposited); a sub-page on a short name (New, Edit) under the record or section it belongs to; a settings section on the section (Invoicing › Settings › Payment Types). That repeats the title a line below, which is what the old rule avoided; the trail sits on the frame, outside the page card, so the repeat costs little. It is ui-sm in stone-600, as the catalog's rt-breadcrumb sets it (DES2-11, 2026-10-23). It was ui-xs from 2026-09-25, with the links in stone-light and the current page in stone-400: on the frame's stone-100 those are 4.4:1 and 2.3:1, under the 4.5:1 small text needs, and at 12px the trail got lost in the band. Separators are the shell nav's caret, angle-right (regular, sm) in stone-300, so the two carets match; a chevron-right at the same size read as a row of arrows beside it. A duotone house at xs (rust secondary on hover) leads, and the links reuse TextLink's dashed-underline reveal in navy. Rendered by the shell, not by the page header (2026-10-01): the page declares the trail (PageHeader's breadcrumb prop hands it up through page-chrome) and AppShell draws it in the App band above the page card, with show_home false — the sidebar handle took the home icon's slot on 2026-10-05, and Home is the nav tree's first row anyway. Wherever the trail stands alone the home icon still leads. With three or more segments the trail collapses under sm to home › … › parent › current, where the … opens a Popover listing the hidden ancestors; keeping the parent in view means the way back is still one tap on a phone, and the current page truncates if the band runs out (a trail that ends on a link keeps only that link). Both trails are in the DOM and a breakpoint picks one, as the catalog did. Respellings from the catalog: text-sm → text-ui-sm; flex-shrink-0 → shrink-0; leading-[0] → leading-none; the inline heroicon chevron → Icon angle-right (regular, sm); fa-house stays house, Font Awesome 7's own name (the kit, 2026-10-05). App decision on record (canon): no new component — the layout yields the trail and each view declares it with content_for :breadcrumb, which is exactly the shape page-chrome mocks here. Production's shared/ui/settings/_header.html.erb trail (tw-text-gray-400 / tw-text-teal-700) is legacy; PageHeader replaces it. Translation watch-outs: the dashed underline needs the app's .tw-link-dashed rule (2.2 has no decoration-*), shrink-0 is tw-flex-shrink-0, and the collapse is the sm breakpoint.
- Shell navTo build in the app7 previews
The app shell's sidebar, built from the handoff bundle's sidebar tree mock (page-layouts/mock/index-tree.html), which supersedes the catalog's rt-shell-nav.js (conflict 2). One tree, three renderings by width, driven by the width rather than a default: expanded, a 220px column with labels, from 1440 (it was 1920 until 2026-10-05: a laptop is where the app is used, and the labels are worth more than a list's last columns); the 56px icon rail from lg to 1439, as the same column, its areas opening Popover flyouts; and below lg (1024) a drawer over a backdrop. The band's handle overrides the width until the window crosses the threshold again, and the expanded/rail switch is a matchMedia listener in AppShell, not a CSS breakpoint (the two states are different markup). From lg the sidebar is not in a container (2026-10-01): it sits directly on the stone-100 backdrop with no fill, hairline or radius, so it reads as furniture and the page card is the only card on screen; the drawer takes its own surface-muted surface back, because an overlay has to be a surface to be legible. Resting rows are stone-600, not stone-light (2026-10-06): #78716C measures 4.40:1 on the backdrop, under AA. The tree fades into the backdrop above the account footer rather than stopping at a rule. It carries no handle of its own since 2026-10-05: the App band's one handle collapses the column from lg and opens the drawer below it, and the column's width animates 220 ⇄ 56 over 200ms while the two renderings crossfade, both pinned to its left edge so neither reflows. What stays in the sidebar is the drawer's close, because below lg the backdrop covers the band. Below lg there is no header bar of its own either (2026-10-07): the brand sits in a 48px logo bar at the top of the page that scrolls away, and the App band is pinned under it. It opens with the brand lockup (the round mark plus the wordmark, mark only on the rail). The accordion opens one area at a time; Home and Reports are pages; Workflows are pinned to the foot of the tree as quick actions, and the footer's account menu rounds it out. Takeover levels (2026-10-02): a Settings or entity level (NavLevel) replaces the tree from lg with a Back link (navy, semibold and underlined like the Overview's links since 2026-10-28, the one coloured row, so the way out is easy to find), the level's name and its sections, each its own page, URL and save; a level forces the sidebar expanded, so the rail never shows one. Below lg there are no slide-outs (2026-10-07): the drawer keeps the global tree and the page carries the level's sections as a select list under its header (SettingsPageHeader's SectionPicker, optgroups for the level's groups); level_in_drawer restores the 2026-10-02 drawer. Respellings from the mock: px and rem values are Tailwind steps; stone-500 → stone-light (now stone-600 for resting rows, above); gray-200 → stone-200; 10px / 9px / 8px text → text-ui-xs; brand font-bold → font-semibold; the mock's box-shadow is shadow-xs here, tw-shadow-sm in the app; its single --area hex is the text-{area}-deep tokens through a static map; rt-shell-nav's md: breakpoint is lg: (conflict 10), its Quick Create menu is dropped for the mock's Workflows group, and its sidebar icon is the band's handle (conflict 15), the real FA7 glyph since the kit landed on 2026-10-05. Watch for the slash opacities (bg-white/50, bg-white/60, bg-stone-dark/40) and lg:w-[220px] when translating. The logo files are plain <img> tags on /logos/rt-icon.png and /logos/rt-wordmark.svg, so they become image_tag.
- App bandTo build in the app3 previews
The strip above the page card (canon App band row, added 2026-10-01): the sidebar handle and the breadcrumb left, the account-level utilities right, 48px tall with a 12px gutter. It is the application's strip, not the page's, which is why its gutter lines up with the card's edge rather than with the title inside it, and why production's top-bar utilities live here now that the shell has no top bar to hold them. The handle leads it (2026-10-05), in the slot the trail's home icon held: the control that moves the application's furniture belongs at the strip's left edge, over the sidebar it governs, and Home is already the tree's first row. It replaced three handles — a collapse arrow in the brand row, an expand button on the rail and the drawer's bars — each reachable in only one rendering. Below lg it is pinned under a logo bar that scrolls away (2026-10-07): the shell nav's fixed 48px header bar is gone, because once the drawer's opener moved into the band it held only the brand, which put 96px of fixed chrome above a phone's content. Built in components/app/app-shell.tsx (BreadcrumbBand, internal to AppShell: it reads the page's trail from page-chrome and the collapse and drawer state from the shell), components/app/sidebar-toggle.tsx and components/app/shell-utilities.tsx. Because BreadcrumbBand needs AppShell's state, the previews compose its three parts in the same row with the same classes (flex h-12 items-center gap-2 bg-stone-100 px-3) from a specimen that holds the handle's state; the handle moves no sidebar here, and the sticky pinning below lg is left off so the preview does not stick to the Lookbook's viewport. Mock behaviour: the help menu's links are # (Help Scout, the status page and the changelog), and tasks_updated_at and notification_count come from AppShell's session data. Translation watch-outs: hover:bg-white/60 on the 32px buttons is hover:tw-bg-white hover:tw-bg-opacity-60; the tooltips are floating-tooltip, the help menu the popover controller; the 1440 expanded threshold the handle overrides is a matchMedia listener, not a breakpoint.
List controls
- ToolbarOn a branch in the app4 previews
Port of Ui::ToolbarComponent from roastertools-app's origin/jon-dev-3250-shared-list-controls branch (app/components/ui/toolbar_component.{rb,html.erb}). List-page toolbar: search, filter and sort controls as three slots (search, filter_control, sort_control). It is the frame's top strip, inside the table's card — px-4 py-3 (2026-10-02; it sat above the card, unframed, from 2026-09-25). White and ruleless since 2026-10-05: it had the branch's surface-muted fill and its own 2px stone-dark rule, which made it a band of chrome in its own right, and with the pill row under it the card stacked three strips before a single row. Now ListChrome wraps the toolbar and the pills and draws the one 2px rule under the pair, so the only grey band left in the card is the table head. It also puts the search field back on the canon's footing — a field's container stays white, so the field's own surface-muted fill reads as a slot rather than grey on grey. The count sits beside the filter control rather than at the far right (2026-10-05): it is that control's answer. This is where the app's own component draws it too. Classes are the branch's verbatim, respelled: tw- stripped, border-0 border-solid (preflight-off artefacts) dropped, gray-200 → stone-200 (conflict 7). Stimulus hooks kept as data attributes so the markup matches the app: data-mapping-toolbar and, with unselect_target, data-selectable-target="unselectAction" (the selectable controller hides this element while rows are selected and shows the BulkActionsBar). The row is flex-wrap, so at 390 the search, filter and sort controls wrap onto their own lines.
- Filter popoverOn a branch in the app4 previews
Port of Ui::FilterPopoverComponent from roastertools-app's origin/jon-dev-3250-shared-list-controls branch (app/components/ui/filter_popover_component.{rb,html.erb}). Grouped filter popover: a trigger with an active-filter count, a category rail, one panel per category and a Reset/Apply footer. On a phone (below sm, 2026-10-15) the trigger goes icon-only and opens a sheet instead — the categories as a drill-in list showing what each has set, the fields one level down, Apply pinned to the foot — after Shopify admin's "Filter by" (see the HANDOFF note). In the app the whole body is one GET form; pages own the fields, hidden parameters and the Reset control. Classes are the branch's verbatim, respelled: tw- stripped; border-0 border-solid dropped; sizes by pixel at the app's 14px root (conflict 13): text-base → text-ui-sm, text-sm → text-ui-xs, text-xs → text-ui-xs; gray-200 → stone-200; stone-800 → stone-dark (same value); hover:bg-opacity-90 → hover:bg-navy/90; tw-shrink-0 → shrink-0 (a Tailwind 3 name the branch uses; 2.2 spells it flex-shrink-0); the legacy tw-button-brutalist-primary Apply → Button primary. Stimulus dropped for React state: data-controller="filter-popover" with its category and panel targets, click->filter-popover#selectCategory, and the active/inactive classes (FILTER_CATEGORY_ACTIVE_CLASSES / FILTER_CATEGORY_INACTIVE_CLASSES, which the controller swaps). The trigger's data-popover-target="trigger" / click->popover#toggle and its aria-expanded/aria-controls/aria-haspopup are what Radix sets on the trigger. Rails form plumbing (url, hidden_fields, form_data, the submit) → onApply; the reset slot stays a slot and the default Reset button calls onReset. The panel is a sm: grid (rail 4 columns, content 8), so at 390 the rail stacks above the content as a wrapping row of category chips.
- Active filtersOn a branch in the app3 previews
Port of Ui::ActiveFiltersComponent from roastertools-app's origin/jon-dev-3250-shared-list-controls branch (app/components/ui/active_filters_component.{rb,html.erb}). Active-filter pill row for a list page: one removable pill per filter dimension plus Clear all. Renders nothing without pills, as the app's render? does. The pill is on the outlined-control spec since 2026-10-05 — 32px, 1px stone-400 with a stone-300 divider before the × (2px stone-300 at first, stone-400 since DES2-11, 2026-10-23), flat, ui-sm — rather than the canon's old hairline exemption, so it carries the same weight as the trigger that made it; what tells the two apart is the content, with the label in stone-light and only the value in ink. It sits inside the table's card under the Toolbar, white and ruleless (2026-10-05; it had a stone-200 hairline under it, which cut a single field of chrome into two strips): ListChrome wraps the pair and draws the one 2px stone-dark rule under the whole of it, so the pills read as a second line of the toolbar rather than a band of their own. Classes are the branch's verbatim, respelled: tw- stripped; border-0 border-solid dropped; sizes by pixel at the app's 14px root (conflict 13): text-xs → text-ui-xs, text-sm → text-ui-xs; gray-200 → stone-200; border-opacity-40 → border-mustard/40, hover:bg-opacity-20 → hover:bg-mustard/20. Rails paths (remove_path, clear_path) → remove_href / clear_href, with onRemove / onClear as the mock-behaviour alternative (a <button> instead of a link). The data hooks (data-active-filters, data-active-filter, data-active-filter-label, data-active-filter-value, data-clear-filters) stay on the elements.
- Bulk actions barOn a branch in the app3 previews
Port of Ui::BulkActionsBarComponent from roastertools-app's origin/jon-dev-3250-shared-list-controls branch (app/components/ui/bulk_actions_bar_component.{rb,html.erb}). Bulk-action bar that swaps into the toolbar slot while table rows are selected. Bulk bar colour decision (conflict 1): the branch's light navy/5, not the workshop's dark stone or the mocks' mustard tint. It carries no bottom rule of its own (2026-10-05; the branch's navy/20, then 2px stone-dark from 2026-10-02) — ListChrome draws the strip's one rule, so the card's top edge keeps its weight whether the toolbar or the bar is showing. The navy/5 fill is what tells the bar from the white toolbar it replaces. Classes are the branch's verbatim, respelled: tw- stripped; border-0 border-solid dropped; sizes by pixel at the app's 14px root (conflict 13): text-base → text-ui-sm, text-sm → text-ui-xs; bg-opacity-5 → bg-navy/5, border-opacity-20 → border-navy/20, bg-opacity-10 → bg-stone-dark/10. Stimulus hooks kept as data attributes so the markup matches the app: the bar is data-selectable-target="selectAction" (shown while rows are selected), the count is data-selectable-target="selectedCount" (the controller writes the live number into it), and the Clear button's click->selectable#unSelectAll → onClear. Secondary actions use BULK_SECONDARY_BUTTON_CLASSES (≈ Button tertiary sm; conflict 12); the primary action is a Button primary sm.
- List chromeOutside the canon2 previews
The table card's top strip as one object: the Toolbar (or the BulkActionsBar that swaps in for it) with the active-filter pills under it. Outside the canon vocabulary, added 2026-10-05. It exists to own the strip's closing rule. Before it, each band drew its own — border-b-2 border-stone-dark on the toolbar and on the bulk bar, a stone-200 hairline under the pills — which cut a single field of chrome into two or three stacked strips, and meant the weight of the card's top edge depended on which bands happened to be showing. One wrapper, one rule: the bands inside are white and ruleless, and the 2px stone-dark closes the whole of it, matching the rule under the table head below. **It sticks from lg (2026-10-27):** the search, filters, count and sort — or the bulk bar while rows are chosen — stay at the top of the page card while the rows scroll, and a sticky_head Table pins its head under it (it finds the band by data-list-chrome and takes its height as the copy's top). z-20, a step over the head's copy. Below lg it scrolls away. In the app this is the wrapper around the toolbar and active-filters partials inside the list card, with tw-sticky from lg and a data attribute the table's sticky_head controller reads.
- Sort controlOn a branch in the app3 previews
Port of Ui::SortControlComponent from roastertools-app's origin/jon-dev-3250-shared-list-controls branch (app/components/ui/sort_control_component.{rb,html.erb}). Toolbar Sort split button: both halves toggle a popover menu of sort entries. Overlaps Button split (conflict 12); kept verbatim for the branch review. Classes are the branch's verbatim, respelled: tw- stripped; border-0 border-solid dropped (the caret keeps its border-l / border-l-2); sizes by pixel at the app's 14px root (conflict 13): text-sm → text-ui-xs; hover:bg-opacity-90 → hover:bg-navy/90, border-opacity-20 → border-white/20. Entry path → href (a link) or onSelect (a button). Both halves open one popover: in the app the group <div> is data-popover-target="anchor" and each <button> is a data-popover-target="trigger" with click->popover#toggle. Here the group <div> is the Popover's trigger (Radix asChild), so a click on either half bubbles to it and toggles, and the panel anchors to the whole group as the app's anchor does. Radix puts aria-expanded / aria-controls / aria-haspopup on the group; the buttons carry the same attributes by hand so the markup reads like the app's. The control carries its own ml-auto so it sits at the right end of the Toolbar.
- Columns controlOutside the canon2 previews
Which of a table's columns show, and in what order (2026-10-27, after ChartMogul's tables): the list toolbar's Columns button, just left of Sort (Toolbar columns_control). Its popover lists the columns in order; a checkbox shows or hides each, and a grip drags it up or down the list, which is its place left to right. The table's head does the same move directly: with Table onColumnMove, a header cell given a column_key shows a 28 × 12px tab hanging from its top edge on hover, and dragging it moves the column (the cell washes stone-100, a chip with the name follows the pointer, a 3px mustard bar marks the landing place, the table scrolls when the pointer nears either edge, Escape cancels). The popover is the way that also works on a touch screen; both work from the keyboard (arrow keys on a focused grip or tab, announced in a live region). A pinned column — a list's identifier, the link to the record — always shows and holds its end of the row: pinned "start" leads it, pinned "end" closes it (Transactions' identifier since 2026-10-28, Danielle: the statuses lead and the reference sits last). It is listed at that end of the popover, checked and disabled, with "Always shown" in the row (P8), and has no handle; a column dropped past the last movable one lands before an end-pinned column, never after it. Changes apply as they are made, so there is no Apply; Reset restores the defaults and is disabled while they hold. The trigger is the filter trigger's 32px outlined control, icon-only at every width with "Columns" in a Tooltip on hover and focus (2026-11-04, Danielle's review comment: "download and columns can be an icon and if you hover a word pops up with the title, to keep space small"; it had a label from sm, then from xl); the toolbar drops it where the list stacks (stack_below), since a stacked row has a fixed anatomy. State: useTableColumns(table, defs) in lib/use-table-columns.ts — order and visibility per table, remembered per browser (mock); in the app a per-user preference so it follows the person and paints on first render. Outside the canon vocabulary.
- Group controlOutside the canon3 previews
The list toolbar's Group by (2026-10-30, Transactions: "this order had a payment, a refund and a credit applied"): a menu of the ways the rows can gather under a heading, between Columns and Sort (Toolbar group_control). The sort orders the groups and each group reads in the order things happened; the heading is a Table group row on a desktop and a StackedListGroup on a phone. From the workshop's "Grouped Entries", whose grouping axis is a toggle in the toolbar. Shaped like Sort without the split: one 32px outlined trigger at the toolbar's weight, the chosen entry marked with a navy check. The trigger names the grouping while one is on ("Order") and says "Group" while none is, from 2xl only — set when Download and Columns still had labels and the four cost the row count its place at 1024 and from 1280 to 1440; those two are icon-only since 2026-11-04, and Group keeps its caret, so below 2xl it still reads as a menu.
- Download CSV buttonOutside the canon2 previews
The list toolbar's way to take the list away as a file (2026-10-28, Danielle's review comment: "add download CSV on the list pages near the filter"), in the Toolbar's actions slot — just left of Columns where a list has it (Transactions), beside Sort where it does not (Credit Memos, Payouts). It downloads what the list shows: every row the search and filters match, across every page, not only the one on screen; on a list with a Columns control, the columns showing, in their order. The Tooltip names the action and says what the file holds ("Download 69 transactions as CSV, with the columns showing"). The file: a header row of the columns' names, the badges' words as text, amounts as plain numbers with two decimals and their minus sign ("-200.00"), dates as yyyy-mm-dd, a UTF-8 byte-order mark for Excel, and no cell a spreadsheet would run as a formula; named after the list and the day (transactions-2026-02-10.csv). The trigger is the filter's and Columns' 32px outlined control with file-csv and no label (2026-11-04, Danielle's review comment: "download and columns can be an icon and if you hover a word pops up with the title, to keep space small"; it was labelled "Download" from xl until then): the icon says what kind of file, the accessible name is "Download CSV", and the Tooltip, which opens on "Download", is the word on hover. With nothing to download it stays, disabled, and the Tooltip says why (P8). No toast: the browser shows the download. Mock behaviour: the file is built in the browser (lib/csv.ts). Outside the canon vocabulary.
- Bulk actions menuOutside the canon2 previews
The list toolbar's Bulk actions button (2026-10-28, Danielle's review comment: "make batch actions visible even when a row isn't selected yet"), first in the right-hand group, beside Download (Toolbar bulk_control). It is how a person finds out what they can do to many rows at once before ticking one. With nothing selected its menu lists every bulk action disabled, under one line saying what to do first ("Select payments in the list to use these actions") — P8, shown with the reason rather than hidden. It replaces production's "More" menu, which said "Select a Payment to see more actions" and hid them. Once rows are selected the bulk bar swaps in for the toolbar with the same actions as buttons, so from lg the menu is only ever seen in its empty state; where a toolbar stays during a selection the items run, and one still unavailable keeps its own reason in a Tooltip. The trigger is the filter's 32px outlined control with list-check and the angle-down caret, its label from xl (icon-only below, like Download); the toolbar drops it below stack_below, where the stacked list's checkboxes and the floating bar carry selection. Outside the canon vocabulary.
- Header cellOn a branch in the app3 previews
Port of Ui::HeaderCellComponent from roastertools-app's origin/jon-dev-3250-shared-list-controls branch (app/components/ui/header_cell_component.{rb,html.erb}). One list-table header cell: optional width, platform mark and a flex row so every header control sits on the same vertical centreline. Overlaps TableHeaderCell in Table (conflict 12); kept verbatim for the branch review so the app can collapse the two later. Classes are the branch's verbatim with tw- stripped (px-4 py-3 font-semibold, flex items-center gap-2, the mark's h-5 w-5). width_classes → width_className; image_tag → <img>. The branch sets no text size, colour or case on the cell: the header row supplies them (Payments uses uppercase text-sm, which is text-ui-xs here). No Stimulus: the cell is static markup.