Triggers an action, styled from your sizes, colors, radii and variants.
Components
Every component is styled from your config: its sizes, colors, radii, variants, spacing and text styles. The previews below use this site’s config.
Buttons
Section titled “Buttons”A square button containing only an icon.
Attached or spaced buttons that share size, color and variant.
Segmented controls and groups of toggle buttons.
Label, helper text and error message, wired to a control.
A single-line text input on the shared size scale.
A multi-line text input that starts at one control height.
Picks one value from a list, with keyboard and typeahead.
A text input with filtered suggestions, including async search.
A checkbox with a label, including a mixed state.
A labelled group of radio buttons with one value.
An on/off toggle with role="switch".
Typography
Section titled “Typography”Text in one of your config's text styles.
h1 to h6, each styled by your config.
A text link that inherits the surrounding text style.
Layout
Section titled “Layout”Vertical layout with a gap from your spacing scale.
Horizontal layout that wraps, with a gap from your spacing scale.
A bordered surface with padding, radius and shadow tokens.
A thin separator, horizontal or vertical.
Overlays
Section titled “Overlays”A modal dialog on the native dialog element.
A modal panel that slides in from the left or right.
A floating panel anchored to a trigger.
A short label on hover and keyboard focus.
A preview card on hover or focus.
A list of actions with keyboard navigation and typeahead.
Brief notifications, shown from anywhere with toast().
Data display
Section titled “Data display”Switches between panels, with arrow key navigation.
Data tables with density from your config.