# Atoms

66 components every block is built from. Radix where behaviour is hard, plain elements where it is not.

Filter this list through the URL, in the browser: ?q=words, ?cat=group, ?sort=name (or category; match while q is set). The static page lists everything.

- **[Collection controls](/components/collection-controls)**: Native search, filter and sort controls that collapse their options in narrow containers.
- **[Score ring](/components/score-ring)**: A score from 0 to 100 with a text equivalent. Unassessed is distinct from zero.
- **[Button](/components/button)**: Triggers an action. Five variants, three sizes, a 44 pixel hit area at every size.
- **[Text link](/components/text-link)**: An inline link with an underline that stays visible, and a focus ring.
- **[Copy button](/components/copy-button)**: An icon button that copies a value and confirms with a check.
- **[Input](/components/input)**: A single-line text field with the system's border, focus ring and invalid state.
- **[Textarea](/components/textarea)**: Multi-line text, resizable vertically.
- **[Switch](/components/switch)**: An on/off control for settings that apply right away. Built on Radix Switch.
- **[Settings group](/components/settings-group)**: A title, an optional description and one card of rows ruled by hairlines. The home of every settings screen; its rows answer its own width.
- **[Settings row](/components/settings-row)**: A label with an optional hint on the left and a control or value on the right. On a narrow container the control drops below the label.
- **[Settings edit row](/components/settings-edit-row)**: A row that shows its value and edits it in place: Edit turns it into a field with Save and Cancel; Enter saves, Escape cancels.
- **[Settings switch row](/components/settings-switch-row)**: A row with a switch. The whole row toggles, and the switch is named by the label and its hint.
- **[Preset tile](/components/preset-tile)**: One theme preset as a pressable tile: its page, text and accent swatches, its name and a line on its look. Spread an item of listPresets() into it.
- **[Colour field](/components/color-field)**: A brand colour: a hex field, the browser's own picker and up to eight swatches.
- **[Tabs](/components/tabs)**: Switch between views of the same thing. Built on Radix Tabs, arrow keys move between tabs.
- **[Badge](/components/badge)**: A short label for status or category.
- **[Card](/components/card)**: A surface that groups related content: flat, raised or sunken.
- **[File type icon](/components/file-type-icon)**: One icon per kind of file (document, PDF, email template, style guide, brand guidelines, image, video, logo, clickable mockup, other) and for a project or…
- **[Grid card](/components/grid-card)**: One card for every grid of things: a square picture, icon or thumbnail, a title and a meta line. Rows share a height; on a phone each card is a row.
- **[Tab bar](/components/tab-bar)**: An app's main places as a bar at the foot of a phone screen, beside a Sidebar that takes over on wider screens.
- **[Status dot](/components/status-dot)**: A status as a small dot and a word, for rows, cards and lists where a Badge would be too loud.
- **[Kbd](/components/kbd)**: A keyboard key, for shortcuts in text and menus.
- **[Icon button](/components/icon-button)**: A button with only an icon. The label is its accessible name and its tooltip, so it can never be unnamed.
- **[Avatar](/components/avatar)**: A person or team as a photo, or as initials on a colour picked from the name.
- **[Banner](/components/banner)**: An inline message in the page flow: information, a notice or an error, with an optional next step.
- **[Checkbox](/components/checkbox)**: A box that is on, off or mixed, with its label inside a 44 px row. Built on Radix Checkbox.
- **[Dialog](/components/dialog)**: A modal window that traps focus, closes on Escape and gives focus back. Built on Radix Dialog.
- **[Empty state](/components/empty-state)**: What a list or page shows when there is nothing yet: an icon, one sentence and one next step.
- **[Answer form](/components/answer-form)**: Approve one item or ask for a change, with a short note. A plain form: it works with no JavaScript.
- **[File field](/components/file-field)**: A styled file picker: label, button, the chosen names, and a hint or an error. The native input stays in the form.
- **[Menu](/components/menu)**: A list of actions behind a button. Arrow keys move, type-ahead jumps. Built on Radix Dropdown Menu.
- **[Native select](/components/native-select)**: The browser's own select in the system's field style. Best on phones and for short lists.
- **[Popover](/components/popover)**: A small floating panel next to its trigger, for extra detail or a tiny form. Built on Radix Popover.
- **[Skeleton](/components/skeleton)**: A pulsing placeholder for content that is on its way. It stops pulsing when motion is reduced.
- **[Toast](/components/toast)**: A short message that appears at the bottom, from anywhere in the app, and leaves by itself.
- **[Tooltip](/components/tooltip)**: A short label for a control, shown on hover and keyboard focus. Built on Radix Tooltip.
- **[Accordion](/components/accordion)**: A stack of headings that each open and close a panel. One open at a time, or several.
- **[Collapsible](/components/collapsible)**: One button that shows or hides extra content below it.
- **[Breadcrumb](/components/breadcrumb)**: The path to the current page: links up the tree, then the page itself.
- **[Sidebar](/components/sidebar)**: An app's side navigation: a brand row, search, items with counts, groups that open and close, a foot. Works rendered on the server with no script.

- **[Pagination](/components/pagination)**: Page navigation with Previous, Next and numbered pages, as buttons or as plain links.
- **[Label](/components/label)**: The visible text that names a form control.
- **[Radio group](/components/radio-group)**: One choice from a few options that are all visible. Built on native radio inputs.
- **[Select](/components/select)**: A custom dropdown with a keyboard-complete listbox, type-ahead and form value.
- **[Combobox](/components/combobox)**: A text field that filters a list as you type and picks one option.
- **[Slider](/components/slider)**: A single-value slider on the native range input.
- **[Toggle](/components/toggle)**: A button that stays pressed: bold, favourite, mute.
- **[Toggle group](/components/toggle-group)**: A row of toggles that belong together: pick one, or any number.
- **[Table](/components/table)**: A semantic data table in a keyboard-scrollable frame, with sortable headers.
- **[Separator](/components/separator)**: A hairline between groups, horizontal or vertical.
- **[Progress](/components/progress)**: A bar for a task with a known share done, or an indeterminate one while it works.
- **[Alert dialog](/components/alert-dialog)**: A confirmation that cannot be dismissed by accident. Built on Dialog.
- **[Sheet](/components/sheet)**: A modal side panel for a task that keeps the page in view. Built like Dialog.
- **[Input group](/components/input-group)**: One field made of parts: a prefix or suffix, the input and a button, sharing one border and one focus ring.
- **[Input OTP](/components/input-otp)**: A code split into boxes that behave as one field: paste fills them all, Backspace goes back, autofill works.
- **[Number field](/components/number-field)**: A number you can type or step, with minus and plus buttons: the WAI-ARIA spin button.
- **[Agent chat](/components/agent-chat)**: The chat every Klarhimmel app uses: an empty start with suggestions, the person's message as a bubble on the right, the reply as plain rich text with quiet…
- **[Doc page](/components/doc-page)**: The text page of every app: a large title and the body at a reading width, edited in place like Notion.
- **[Stepper](/components/stepper)**: Where someone is in a flow: numbered steps, the current one marked, each step's state said in words.
- **[Avatar group](/components/avatar-group)**: People who share something, overlapped, with the rest collapsed into a named +N chip.
- **[Scroll area](/components/scroll-area)**: Content that scrolls inside a fixed box: a named region, a tab stop, a thin scrollbar and a soft edge where there is more.
- **[Calendar](/components/calendar)**: A month of days to choose from: the WAI-ARIA date picker grid, with today named and unavailable days said.
- **[Date picker](/components/date-picker)**: A date field you can type or pick: the text takes ISO or day-first, the button opens the calendar in a dialog.
- **[Command](/components/command)**: A search box over a list of actions, and the Cmd+K palette that puts it in a dialog.
- **[Context menu](/components/context-menu)**: The menu that opens where you right-click, and from the keyboard with the Menu key or Shift+F10.
- **[Hover card](/components/hover-card)**: A preview of where a link goes, shown on hover and on keyboard focus, never the only copy.
