Component library

Interface components

Browse controls, feedback, navigation, data display, and layout components.

Color tokens

Every component resolves through these semantic tokens — never a raw color. Swap the channel values and the whole system, both modes included, follows.

bg
bg-subtle
surface
elevated
primary
primary-hover
primary-subtle
ring
danger
warning
success
info

Buttons

Seven variants, four sizes, icon and loading states.

Badges & tabs

DefaultSecondaryOutline SuccessWarningDangerInfo

Form controls

Inputs, toggles, and selection — all with tokenized focus rings.

Alerts

Data display

Team

Avatars with image + initial fallback.

Ada LovelaceGHAT+4

Progress

Determinate and indeterminate.

Menus & selection

A searchable select (typeahead, grouped options, keyboard nav, mobile bottom sheet) and a context menu.

Dialogs & toasts

A sonner-compatible toast API (toast.success / .error / .promise) and a modal dialog.

Record list

A data-driven list page — search, sortable columns, typed cells (reference, amount, status badge), empty state.

Status
INV-1042Northwind Traderspaid$4,820.00
INV-1041Globex Corppending$12,960.00
INV-1040Initechoverdue$780.00
INV-1039Umbrella Incpaid$3,400.00
INV-1038Acme Codraft$990.00

Paged tables & subtabs

Bounded in-memory tables with search, sortable columns, pagination, clickable rows, and detail-style subtab navigation.

Invoice approvedAda LovelaceJul 21
Payment recordedGrace HopperJul 21
Vendor updatedAlan TuringJul 20
Report publishedKatherine JohnsonJul 20
Project createdAda LovelaceJul 19
Showing 15 of 8
Page 1 of 2

Org chart

A parent-pointer hierarchy: collapsible branches, zoom, and drag a card onto another to change who it reports to (drop on the pill to move it to the top level).

100%
Top level

Line editor

A spreadsheet-grade line-item grid. Enter adds a row, Alt+↑/↓ moves, ⌘D duplicates, ⌘⌫ removes.

Item *
Account
Qty
Rate
Amount
$2,400.00
$360.00
Total $2,760.00

Enter to add a row · Alt+↑/↓ to move · ⌘D to duplicate · ⌘⌫ to remove

Panels

A slide-in flyout for detail views and forms — backdrop, focus trap, Esc / click-out, and expand to full screen.

Built with appkit — tokenized, animated, themeable.