Components

Every component is compiled by StyleX at build time and themed through the same variables as the blocks.

Form

Button

Trigger actions with solid, surface, outline, ghost, and glass variants across six sizes — polymorphic via asChild (Ark) or render (Base UI).

Checkbox

Binary selection controls with outline, solid, and subtle boxes and a paired label.

Checkbox Card

Selectable cards with label, description, and checkmark indicator in surface, subtle, outline, and solid variants.

Checkmark

The standalone checkbox indicator square used by checkbox-style components.

Color Picker

Swatch trigger and checkerboard swatch grid with a selection indicator, from 2xs to 2xl.

Combobox

Filterable input with a suggestion popup, item indicators, and an empty state slot.

Command

Keyboard shortcut groups that space and mute a row of key hints.

Date Picker

Date input with calendar trigger, month navigation, and a selectable day grid.

Editable

Inline text that swaps between a hover preview and a focused input on click.

Field

Label, control, helper text, and error slots with vertical and horizontal orientations.

Fieldset

Group related fields under a legend with helper text and spacing tuned per size.

File Upload

Dashed dropzone with a file item list showing names, sizes, and delete triggers.

Input

Text fields with outline, subtle, and flushed variants that inherit your palette and radius.

Input Addon

Prefix and suffix segments that share height and variant styling with an adjacent input.

Listbox

An always-visible option list with selection indicators in subtle and solid panels.

Native Select

A styled platform <select> with a positioned chevron indicator across five sizes.

Number Input

Numeric fields with increment and decrement steppers in outline, subtle, and flushed variants.

Pin Input

One-time code entry with per-digit boxes in outline, subtle, and flushed variants.

Radio Card

Single-choice cards with label, description, and radio indicator in surface, subtle, outline, and solid variants.

Radio Group

Single-choice option lists with outline, subtle, and solid radio controls.

Radiomark

The standalone circular radio indicator with a scaled center dot.

Rating Group

Star rating input with keyboard-accessible items across four sizes.

Segment Group

A segmented control for mutually exclusive views with an inset track and raised active segment.

Select

Custom listbox-style select with trigger, indicator, and item slots in outline and subtle styles.

Slider

Range selection with track, filled range, and thumb in outline and solid variants.

Switch

On/off toggles with a sliding thumb in solid and raised track variants.

Tags Input

Enter-to-add token input with removable item previews in outline, subtle, and flushed styles.

Textarea

Multi-line text entry with the same outline, subtle, and flushed variants as Input.

Display

Accordion

Vertically stacked disclosure panels with outline, subtle, and enclosed variants.

Action Bar

A floating bulk-action toolbar that appears above the page when items are selected.

Avatar

User portraits with image and initials fallback, rounded or circular, from 2xs to 2xl.

Badge

Label state and metadata with palette-aware solid, subtle, surface, and outline styles.

Breadcrumb

Hierarchical navigation trails with plain and underline link styles in three sizes.

Bubble

Framed conversational surfaces using the same solid, subtle, surface, outline, ghost, and plain variants as Button and Badge, plus start/end alignment, grouping, and edge-anchored reactions.

Carousel

Sliding panels with previous and next controls and clickable indicator dots.

Code Block

Framed code panels with a title header, controls, and scrollable monospace content.

Collapsible

Show and hide a region of content behind a trigger, with a bare content slot to style freely.

Color Swatch

Color chips with an alpha checkerboard, sized from 2xs to 2xl.

Data List

Label and value pairs for metadata panels, with subtle and bold label emphasis.

Empty State

Zero-data placeholders with an accent indicator, title, description, and actions.

Grid List

Interactive row lists with a sticky header, hover states, and rounded rows.

Hover Card

Rich preview panels revealed from a trigger, in four padding sizes.

Icon

A sizing wrapper for inline SVG icons that inherits the current text color.

Icon Badge

Squared icon containers in outline, solid, and subtle variants for feature lists and empty states.

Kbd

Keyboard shortcut hints with raised, outline, subtle, and plain treatments.

List

Ordered and unordered lists with native markers or custom icon indicators.

Marquee

An infinitely scrolling strip with faded edges that pauses for reduced motion.

Menu

Dropdown command lists with items, group labels, keyboard shortcut hints, and separators.

Message

Conversation rows with an avatar slot, header, footer, grouping, and start/end alignment around a Bubble surface.

Persona

Avatar with name, secondary label, and a presence badge or ring, from 2xs to 2xl.

Popover

Anchored panels with header, body, and footer slots in four padding sizes.

QR Code

Scannable code frames with a centered logo overlay, sized from 2xs to 2xl.

Sidebar Nav Item

Sidebar navigation buttons with icon, label, and accent-tinted active state.

Skip Nav Link

An accessibility link that stays visually hidden until keyboard focus reveals it.

Stat

Key figures with label, value, and help text in three value sizes.

Steps

Multi-step progress with numbered indicators, completion checks, and connecting separators.

Table

Tabular data with line, inset, and outline treatments across three densities.

Tabs

Switch between panels with line, enclosed, outline, pills, and ghost tab lists.

Tag

Compact labels for filtering and metadata with subtle, solid, outline, and surface variants.

Timeline

Chronological events with indicators, connectors, and per-item content slots.

Tree View

Nested hierarchies with expandable branches, indent guides, and depth-aware padding.

Feedback

Alert

Status banners for info, success, warning, and error with title, description, and indicator slots.

Dialog

Modal windows with backdrop, positioner, and content slots in six widths.

Loading Overlay

Busy states that fill a container, cover it, or take over the screen while content loads.

Progress

Determinate progress bars with outline and subtle tracks in five sizes.

Progress Circle

Circular determinate progress with a track, range, and centered value text.

Shimmer

A GPU-accelerated highlight sweep over inline text for streaming and busy labels.

Skeleton

Loading placeholders with pulse and shine animations that respect reduced motion.

Spinner

A current-color loading indicator sized from inherit up to xl.

Status

A palette-driven presence dot with a label, for system and user state.

Toast

Transient notifications with indicator, title, description, action, and close slots.

Tooltip

Short contextual labels with a default panel style and an inverted variant.

Typography

Blockquote

Quotations with subtle and solid accents and an attribution caption.

Code

Inline code marks with palette-aware solid, subtle, surface, and outline styles.

Heading

Display and section headings across eleven sizes with tuned line heights and tracking.

Link

Inline anchors with underline and plain hover treatments and a themed focus ring.

Mark

Inline text highlights with subtle, solid, and text-decoration treatments.

Layout

App Shell

The top-level application frame composing a navbar, sidebar, and main content area.

Aside

Contextual side panels with a titled header and scrollable body in two densities.

Card

Content containers with elevated, outline, subtle, and solid variants — Root resolves variant and size once and every part inherits them through context.

Drawer

Slide-in panels anchored to any viewport edge, with header, body, and footer slots.

Floating Panel

Draggable utility windows with a drag handle, title bar, and scrollable body.

Message Scroller

A chat transcript scroller that anchors turns, follows streamed replies at the live edge, preserves place when history loads, and jumps to any message.

Navbar

Top navigation bars in neutral, solid, and glass variants with brand and link slots.

Page

Page scaffolds with header, title, description, and body in panel and settings variants.

Scroll Area

Custom scroll containers with a palette-tinted scrollbar in four thicknesses.

Section

Titled content sections with description and body slots for settings pages.

Separator

Horizontal and vertical rules in solid, dashed, and dotted weights.

Sidebar

App navigation rails with header, grouped nav items, and a scrollable body.

Split Page

Master–detail layouts pairing a list pane with a detail content pane.

Splitter

Resizable panel dividers with a separator line and a raised drag handle.