Components

Each part uses only tokens. Class names in brackets are the page's names today.

Buttons

KindLookUse
Primaryink fill, on-ink text, radius-fullThe one main action
Secondary (.pill)field fill, line edgeOther actions
Ghostno fill, text or muteLow actions in menus and bars
Dangerbad text; bad fill only to confirmDelete, stop
Icon40 round, icon icon-sm, hit area touch-minSend, mic, more

States: press scales to 0.98 (dur-instant). Disabled is 40% opacity. Focus shows a 2 px ink ring, 2 px away. Loading keeps the label and adds a small spinner, so the width does not jump.

Cards (.card)

card fill, radius-xl, space-6 padding, shadow (edge line in dark). A card holds one topic: next event, weather, a brief. Tapping the card opens it; small actions go on the right.

Chat bubbles (.me, .bot)

YouAssistant
Fillinkbubble
Texton-inktext
Siderightleft
Cornersradius-lg, small tail corner bottom-rightradius-lg, tail bottom-left
Max width82%88% (full width for tables and code)

Approval card

The assistant asks for a yes. card with line edge, a short title, what will happen, the risk in words, and two buttons: Primary "Yes" and Secondary "No". Plays the approval sound. Never auto-closes. See Approvals.

Lists (.item, .setrow)

Sheets

From the bottom on compact screens, a centred dialog from medium up. raised fill, radius-2xl top corners, a small grab handle, scrim behind, shadow-raised. Drag down or tap the scrim to close. Use sheets for short tasks (new alarm, pick a model), not for full pages.

Inputs

Notices

KindWhereLook
ToastAbove the tab bar, 3-4 sink fill, one line, optional Undo
BannerTop of a screen, until fixedcard, state icon, one action (update, offline)
BadgeOn a tab icon9 px bad dot with page ring
Phone notificationSystem trayChannels: normal, quiet, urgent. Monochrome small icon. See App structure.
Ringing cardFull screen over the lock screenBig time, two big buttons: Stop and Snooze

Tab bar and rail (#tabs)

Compact: a floating card pill, radius-2xl, four tabs (Today, Plan, Chat, You; view ids stay home, plan, chat, settings) with icon and caption. Medium and up: the same tabs as a left rail. See Spacing and layout.

Parts and class names

One name per part. Code uses the class; docs and talk use the same name.

PartClassUse forStatesAccess
card.card (+ .cardhead)A group of related thingsnormal, loading, empty (.empty), errorh3 heading inside
setrow.setrowA row that opens a sheet (You list)normal, pressedbutton; title, hint, chevron
item.itemA row in a card (event, alarm, chat)normal, pressed, done, offbutton if it opens
pill.pill, .pill.solid, .pill.badActions; one solid per viewnormal, pressed, disabled, busybutton with text
seg.seg2-4 views of one thingone aria-pressed=truerole=group + aria-label
toggle.tog + .switchOn/off settingson, off, disabled, savingreal checkbox with a label
field.fieldText, number, time, selectnormal, focus, errorlabel wraps the input
iconbtn.iconbtnHeader actionsnormal, pressed, badgearia-label required
chip.chipIcon square before an item—aria-hidden
sheet#subpageDetails, editorsopening, open, closingBack has aria-label="Back"; title h2 gets focus
approval card.apr, .apr.dangerA yes the assistant needswaiting, answering, done, voidrole=group (alertdialog for danger)
bubble.me, .botChat messagesstreaming, done, failed#log is role=log aria-live=polite
composer#composerWrite and sendidle, sending, live, offlinetextarea has aria-label
banner#net, #updbarOne line about the whole appinfo, warn, badrole=status

Gaps

Live: components

Buttons

Chat bubbles

Hello, what can you do today?
I can read your calendar, set reminders and start work for you. Want me to plan your day?

Card

Next event

Team sync · 10:00 · in 12 min

Sheet

Pick a model

Toast

Saved to memory

Mock app screen

Every part together in one phone frame. Tap a tab to switch; send shows the toast.

Chat
Want me to set a reminder for the meeting?
calendar.read · Team sync 10:00
Set a reminder 30 min before Team sync?
Yes
Done. I'll nudge you at 09:30.