Component gallery

Every component + state, one page. Demo helpers are marked; everything else is the real system.

Buttons & controls

components.md §4
Press ⌘K Short labels: No reply needed

Badges, chips, dots

components.md §6
neutral ready queued parked LLM solid sorted
dots pair with text in real UI — never the only signal

Forms

components.md §5 · pitfalls §7
Grouped
sticky; lifts above the tab bar / keyboard on phones

Overflow menu

destructive actions live in here, not as naked buttons
All 12 Filtered 3
2 selected
namestatusupdated
Example row active 2h ago
Second row (row actions appear on hover / always on touch) paused 1d ago

Feedback blocks

components.md §8
Informational callout (blue tint, bordered).
Success banner.
Warning banner.
Error banner.
1,204processed
7need reply
From
Folder
Archive uid 42
Sorted by rules2,410
Classified1,12131% of total
03:11 info cycle done: 4 new, 2 filed, 3 queued
03:05 warn index not built; first run scheduled

Empty state

title + reason + exactly one action

Nothing here yet

What will fill this area and why it is empty right now.

Toasts

live version: toast(msg, kind) from js/shell.js into #toasts
Saved. (ok)
Heads up. (warn)
Something failed. (err)

Chat fragments

components.md §9 · full page: chat.html
You
Short user message.
09:41
AI
Thought for 4s
Condensed reasoning trace.
⚙ 1 tool call · ✓ search → 3 hits
✓ search {"q":"…"} → 3 hits

Answer in markdown, with a code span.

09:41
✦ Proposed rule
Proposal name (all)
from contains "x"
move → Folder
Enter sends · Shift+Enter new line

Flow canvas (mini)

patterns.css [flow-canvas] · full builder in the app
Summary
When new mail arrives · only when from contains "invoice" · move to Finance/Invoices
▸
New mail arrives
watches INBOX every 90s
✦
Only when
min score
Add a filter
⇥
Move to folder
Finance/Invoices
Add a step

Dashboard fragments

patterns.css [dashboard] · full page: dashboard.html
7need a replyflagged by the model
12waitingqueue length
1parkedneeds attention
Rules live Auto-filing off Settings →

Viewer fragments

patterns.css [viewer] · full page: viewer.html
← Newer Older →
09:12classify91% · llm
category
why: one-line reason
full reasoning
Collapsed reasoning trace (wraps, scrolls, never open by default).

Dialog, tooltip, popover, spinner, field errors

Triage 0.2 primitives
Tooltip
Enter a valid email address.
Tooltips are decorative; pair with aria-describedby for screen readers.

Reset cached credentials?

The user must re-authorise. This is a one-way action, so it names the consequence instead of using an armed button.
Popover
Native popover attribute: light dismiss, Escape and focus handling come from the platform.
Demo helpers on this page: .demo-* classes in the inline style block. Everything else is the system.