Components
68 components. Each page has live examples, and the classes and props of the active family.
Actions
Form
- Input A single-line field.
- Textarea A multi-line field.
- Select A closed list of choices, drawn as a field so it lines up with the inputs beside it.
- Combobox A field whose value is looked up in a list while typing.
- Number input A number field, its figure aligned to the end like a number in a column.
- Date picker A field that opens a calendar: an Input, a Dropdown and an inline Calendar put together.
- Calendar A date picker, drawn by air-datepicker (vendored, MIT).
- Color picker One colour, edited in OKLCH: lightness, chroma and hue, each a slider whose track is the gradient it moves along, plus the raw value for anything the sliders cannot say.
- File input The browser's file picker wearing the kit's field frame.
- File dropzone Its content becomes a place to drop files on.
- Checkbox An independent yes/no.
- Radio One choice out of several.
- Toggle A switch that takes effect immediately, unlike a checkbox that waits for a submit.
- Switch One choice among a few, as a pill track.
- Range A value picked along a track, where the approximate position matters more than the number.
- Rating A whole-number score picked from a row of icons.
- Chips input An accumulator: several values, each a chip, collected from a field.
- Editable A value shown as it is, that turns into its editor when asked: a click, Enter or F2.
Form layout
- Label Inline text naming a control — on its own, or inside a field as a prefix or a suffix (.input > .label).
- Floating label A container that wraps a field: its <span> sits over the frame and rises out of the way once the field has content.
- Fieldset A group of related fields with a legend.
- Validator Marks a field as validated: the field paints itself from its own :valid / :invalid state, and the hint appears only when it is wrong.
Display
- Text The typographic scale, delivered as classes — no frame, no state.
- Avatar A picture, or a few letters, standing for someone — cropped to a shape.
- Badge A count or a mark pinned to another element.
- Chip A small standalone token: a status, a tag, a removable value.
- Swatch A sample of one colour, passed in as --swatch-color.
- Bubble A chat message: one class on one block, which gives it a fill, an ink and a tail at the bottom of one side.
- Card A box with, optionally, a figure, a title, a body and a row of actions.
- Stat A figure worth a glance — a title, a value, a description, and optionally a figure on the side and actions.
- Carousel A row of items that scrolls and snaps natively, with optional arrows over it, upcoming items and a pagination under it.
Feedback
- Alert An inline message — information, success, warning, error — where it concerns the user.
- Toast A stack of alerts that pile up, each leaving on its own.
- Loading Work is in progress and there is no percentage to show.
- Progress How far along something is, on a line.
- Radial progress The same statement as progress, drawn as a ring, for when the number itself is the point.
- Skeleton The shape of content that has not arrived.
- Empty state What to show when there is nothing: no results, an empty folder, a list not started yet.
Data
- Data handler The live state of one remote resource — the current page of rows, the total, the search, the sort, the filters, the selection, the unsaved edits and their history — and the requests that read and change it.
- Data control The controls of a data handler, around the view that shows its rows: filters, sort, search, page size, pagination, and actions on the selection or on the whole resource.
- Table A real <table>.
- Grid Items in as many columns as fit.
- List Rows of data in a painted box.
- Kanban Items in columns, one column per state they can be in.
- File explorer Files and folders in a hierarchy, Drive-like: the folder tree, the current folder as a list or a grid, the details of the selection, under a toolbar with the path and your actions.
Navigation
- Menu Navigation with one current item, optional section titles and optional nested groups.
- Tabs Switching which panel is visible.
- Breadcrumbs Where you are in a hierarchy, and the way back up.
- Steps Where the user is in a journey: one column per step, one bar per sub-step.
- Pagination A row of pages to jump between, with previous / next.
- Dock A bar pinned to the bottom edge, for the two to five places you go most.
Layout
- Navbar A bar across the top.
- Sidebar An app's side column — a brand, a menu, an account — that folds to a rail.
- Drawer A panel sliding in from any side, in three states: hidden, peek (its last --drawer-peek in view) and open (all --drawer-size of it).
- Footer The closing block of a page: columns of links that fill the width as room allows, then a bottom row.
- Hero The large opening block of a page: a title, a sentence, a call to action, and optionally media beside them.
- Divider A rule between two things, horizontal or vertical, optionally carrying a word or two.
- Collapse A panel that folds under its trigger.
- Accordion A stack of Collapses, joined at their edges.
Overlay
Mockups
- Mobile frame A phone drawn around content, for showcases and screenshots — not an emulator.
- Window frame An application window drawn around content: a title bar with three controls, a title and actions, above a body that scrolls.
- Laptop frame A laptop drawn around content: a lid holding a 16:10 screen that scrolls, on a wider base.