Skip to content
ArcadiaDesign
Lookout
3 files changed+14 −3

Examples

Interactive header

With interactive, the whole header is one button: a disclosure, or a way to open the plan. Don't nest other buttons in it; a static header with CardMeta can hold them instead.

Move every preference into one dialog with a sidebar of sections, and keep the shortcut list searchable.

A form

render turns the card into the <form> itself, so the footer's buttons submit and reset it natively.

Profile

Shown on shared links and comments.

Window

variant="window" makes the first header a title bar: the file in mono (its name in text-1, the folder in text-3), stats and actions at the end and always shown, and a hairline below.

receipt.tssrc/lib+2 −1
export function receiptFor({ subtotalMinor, feeMinor = 0, currency }: Receipt) {

Levels and variants

stream, the default, is for turn-level cards: radius 15 with continuous corners, 12 where the browser lacks them.

Task WorkingAudit focus order3 steps, 42s
12 passed, 0 failed, 71 expect() calls