Components
Every demo renders in light and dark side by side. Pinned rows show hover, press and focus states without touching anything.
Foundations
- Typography Headings, text, quotes, code, links, lists and prose on one type scale.
- Card The content surface: header, description, action, content and footer.
- Separator A hairline divider, horizontal or vertical.
- Code Block Highlighted code with a file name, line numbers and a copy button.
- Avatar A picture of a person, with initials while it loads or when there is none.
- Badge Compact status and count labels.
- Kbd Keyboard keys and shortcuts.
Actions
- Button Variants, sizes, pill shape, icons, loading and tactile press feedback.
- Button Group Joins buttons and fields into one control.
- Icon Swap Swaps one icon for another with a blur, scale and fade, like copy → check.
- Breadcrumb Where you are in a hierarchy, with links back up.
Forms
- Label An accessible name for a form control.
- Input Single-line text field in three sizes.
- Textarea Multi-line field that grows with its content.
- Input Group A field with icons, text, buttons or keys inside it.
- Field Label, description and error, laid out and wired up for assistive tech.
Controls
- Checkbox On, off or mixed, with a check that draws itself on.
- Switch An iOS-style toggle for settings that apply immediately.
- Radio Group One choice from a short list.
- Select Pick one option from a menu that scales in from its trigger.
- Accordion Stacked headings that expand to reveal their content.
- Input OTP One-time codes: grouped slots, paste and SMS autofill.
- Alert A callout for information, success, warnings and errors.
- Progress How far along a task is, or that it is working.
- Spinner A circular indeterminate indicator: an arc that grows and shrinks as it turns.
- Skeleton Placeholders in the shape of content that is still loading.
- Empty What to show when there is nothing to show — and what to do next.
Overlays
- Tooltip A short label on hover or focus, instant along a toolbar.
- Popover Rich floating content anchored to a trigger.
- Dropdown Menu Actions, checkboxes, radios and submenus.
- Context Menu The same menu, at the pointer on right-click or long-press.
- Navigation Menu Site navigation whose panel resizes and slides as you move between items.
- Dialog A centered modal over a dimmed page.
- Alert Dialog A compact confirmation that has to be answered.
- Sheet A floating panel that slides in from an edge.
- Drawer A sheet you drag, dismissed with a flick.
- Sonner Stacking toasts with swipe to dismiss.