Skip to content
The Apex component library

Great interfaces.
Start with the right pieces.

See the actual rendered examples before choosing a component. Open any card to try its variants and copy working code into your application.

115 componentsTypechecked examplesLight, dark & RTL previews

All components

115 components

Card

Container with header, content, and footer slots. Used for stats, forms, and data panels.

Header, content and footerInteractive action

Layout

Separator

Horizontal or vertical divider line between sections.

HorizontalVertical

Layout

Sheet

Slide-out panel from any edge. Used for mobile menus and detail views.

LeftRight

Layout

Accordion

Single or multiple expandable sections with keyboard navigation.

Single selectionMultiple selection

Layout

Collapsible

A controlled or uncontrolled disclosure for related content.

Controlled disclosureHidden and expanded content

Layout

AspectRatio

A stable proportional container for media and previews.

16:9 landscape1:1 square

Layout

ScrollArea

Keyboard-focusable scrolling with vertical and horizontal tracks.

Vertical listHorizontal cards

Layout

Resizable

Two-pane resizing with pointer, keyboard, and RTL support.

HorizontalVertical

Layout

BrowserFrame

A presentation browser frame with address text and editable child content.

Product dashboard frameDark chrome

Layout

StickyPanel

A bounded document pane with a sticky desktop sidebar and stacked mobile layout.

Sticky release summaryKeyboard-scrollable document

Layout

Input

Text input field with consistent border and focus ring styling.

Email inputValidation error

Form

Select

Dropdown select menu built on Radix UI Select primitive.

ControlledDisabled item

Form

Textarea

Multi-line text input with native resizing support.

Multi-line inputDisabled

Form

Checkbox

Boolean toggle with checkmark indicator. Supports indeterminate state.

ControlledIndeterminate

Form

Switch

Toggle switch for on/off boolean states.

On and offDisabled

Form

Label

Accessible label element that pairs with form inputs.

Text field labelCheckbox label

Form

Radio Group

Group of radio buttons for single-select from multiple options.

Controlled selectionThree options

Form

Form

React Hook Form integration with Zod validation and accessible error messages.

Zod validationInline errors

Form

Combobox

Searchable autocomplete input combining a text field with a filtered dropdown list.

SearchableClear selection

Form

Date Picker

Calendar-based date selection input with popover display.

Empty dateSelected date

Form

Multi-Select

Select multiple values from a dropdown with tag-style display of selections.

Searchable multiple selectionCollapsed chips

Form

Phone Input

International phone number input with country code selector and formatting.

Country selectionAs-you-type formatting

Form

OTP Input

One-time password input with individual digit fields and auto-advance.

Six digitsGrouped slots

Form

Color Picker

Visual color selection input with hue/saturation controls and hex value entry.

Color popoverBrand presets

Form

File Uploader (Dropzone)

Drag-and-drop file upload area built with react-dropzone. Supports file type and size validation.

PNG and JPEG selectionFile list and removal

Form

Slider

Range input for selecting a numeric value within a min/max range. Supports single and dual thumbs.

Single thumbRange

Form

Toggle

A pressed button for independent on/off choices.

Default and outlineControlled bookmark

Form

ToggleGroup

Single or multiple pressed selections in a compact segmented group.

Single selectionMultiple selection

Form

InputGroup

Input composition with prefix, suffix, icon, and metadata slots.

Search iconURL prefix and suffix

Form

Field

A render-prop field wrapper connecting labels, hints, and errors.

Required fieldInline validation

Form

NativeSelect

A themed native select with option groups and browser behavior.

Controlled selectionOption groups

Form

NumberField

Labeled numeric entry with bounded increment and decrement controls.

Controlled seatsDecimal stepping

Form

TimePicker

A labeled native time input with minute or second precision.

Controlled minutesSeconds precision

Form

Rating

Whole-star ratings with controlled, disabled, and read-only modes.

Interactive whole starsClear to zero

Form

Cascader

Multi-level category selection with a breadcrumb path and column popup.

Three-level selectionLeaf completion

Form

PasswordInput

Labeled password entry with an accessible visibility toggle.

New passwordPrefilled current password

Form

AutosizeTextarea

A labeled textarea that grows with content and scrolls at a defined row limit.

Controlled growing briefPrefilled notes

Form

FormRepeater

Controlled repeatable form rows with stable identities and add/remove limits.

Editable collaboratorsMaximum three rows

Form

ImageInput

Validated raster image selection with local previews, replacement, and removal.

Landscape coverCircular profile

Form

RichTextEditor

Schema-based rich text with formatting, lists, links, undo, and JSON output.

Controlled release briefLive JSON document

Form

Mentions

Controlled multiline text with local @mention suggestions and keyboard selection.

Project update composerFiltered teammate list

Form

SignaturePad

Responsive pointer signature capture with typed alternative, undo, clear, and PNG export.

Mouse/pen/touch drawingKeyboard typed signature

Form

ChoiceCardGroup

Image and icon choices using native single- or multiple-selection form controls.

Image cover choicesMultiple icon choices

Form

ColorSwatchGroup

A named palette of color choices with native radio semantics.

Workspace accentCompact palette

Form

TagInput

Free-form tag creation with case-insensitive deduplication, paste, and explicit limits.

Editable project tagsComma/newline paste

Form

FloatingInput

A persistent floating label for text-like native inputs with linked guidance.

Empty and focused emailPrefilled name

Form

MaskedInput

Digit-only formatted entry with raw values and caret-aware separator editing.

Prefixed invoice referencePartial postal format

Form

AsyncAutocomplete

Remote-style search with cancellation, grouped results, and clear loading, empty, and error states.

Grouped people searchDebounced asynchronous results

Form

EmojiPicker

Searchable Unicode reactions with categories, skin tones, and an optional popover trigger.

Inline reaction pickerComposer popover

Form

UploadQueue

Actual file selection with validation, progress, cancellation, retry, and an explicit upload adapter.

Browse and drag/dropSequential queue / individual upload

Form

Badge

Small status label with color variants: default, secondary, destructive, success, warning, outline.

Six status variants

Data Display

Table

HTML table primitives (Table, TableHeader, TableBody, TableRow, TableCell) with consistent styling.

CaptionStatus cells

Data Display

Avatar

User avatar with image and fallback initials support.

Image with fallbackInitials

Data Display

Progress

Horizontal progress bar with animated fill.

Interactive progressComplete

Data Display

Skeleton

Loading placeholder with pulse animation for content that is still loading.

Avatar placeholderText lines

Data Display

Calendar

Calendar for single, multiple, or range date selection.

Single dateMultiple dates

Data Display

Kbd

Semantic keyboard-key hints for shortcuts and instructions.

Key combinationsNavigation keys

Data Display

Typography

Semantic text elements with consistent visual roles.

HeadingLead

Data Display

Timeline

Chronological events with status, timestamps, and compact/card layouts.

Card layoutCompact layout

Data Display

DescriptionList

Semantic term/value details in one or two responsive columns.

Two-column detailsDivided list

Data Display

Carousel

Manually navigated slides with bounded or looping controls and RTL keyboard support.

Feature slidesCompact looping carousel

Data Display

Sparkline

Dependency-free SVG line and bar summaries, including negative and constant data.

Line trendPositive bars

Data Display

Tracking

Compact service history with labeled samples and a full text legend.

Thirty-sample historyCompact healthy workers

Data Display

ListGroup

Semantic lists for resource links, single-choice actions, and static information.

Single-choice settingsPlain resource links

Data Display

Ribbon

Logical-corner card labels for featured plans and early-access content.

Featured end ribbonMuted start ribbon

Data Display

LocationMap

Offline world overview with geographic markers, selection, zoom, and pan.

Controlled office selectionZoom and cardinal pan

Data Display

Lightbox

A responsive gallery with modal image navigation, zoom, captions, and focus return.

Three-image studio collectionTwo-column favorites

Data Display

ChartLegend

Static or interactive series legends with values and caller-controlled filtering.

Interactive chart filteringStatic totals

Data Display

SignalStrength

Compact stepped levels with a readable value and accessible meter.

Five-bar strengthZero level

Data Display

TrendIndicator

Signed comparisons with direction, configurable success meaning, and missing-data feedback.

Positive improvementLower-is-better improvement

Data Display

CountUp

Animated numeric transitions with an immediate accessible target value.

Currency and decimalsChanging seat total

Data Display

HoverGallery

Image switching on hover, focus, or tap with accessible thumbnail controls.

Image and caption switchingMouse/keyboard/touch choices

Data Display

MediaPlayer

Native video/audio playback with captions, posters, and source-error feedback.

Local MP4 with captionsOriginal WAV cue

Data Display

LiveRegion

Accessible status announcements with a hook for repeated messages.

Visible statusRepeated announcements

Feedback

Dialog

Modal dialog with overlay, title, description, and action buttons.

Editable contentClose action

Feedback

Tooltip

Popup hint that appears on hover or focus. Positioned automatically.

Four placement sidesHover and focus

Feedback

Sonner (Toast)

Toast notification system. Trigger with toast() from the sonner package.

DefaultSuccess

Feedback

Popover

Floating content panel triggered by a button click. Used for filters and mini-forms.

Editable popoverCentered alignment

Feedback

Alert

Persistent contextual feedback with five semantic appearances.

InfoSuccess

Feedback

AlertDialog

An interrupting confirmation with safe focus and explicit actions.

Destructive confirmationCancel and confirm

Feedback

HoverCard

Supplementary entity details displayed on hover or focus.

Entity previewHover and focus

Feedback

Spinner

An accessible loading indicator with reduced-motion support.

Three sizesPending button

Feedback

PasswordStrength

A transparent password requirements checklist and compact completion meter.

Live requirements checklistCompact meter

Feedback

StatusIndicator

A compact status dot paired with a visible text label.

Four semantic statesLive pulsing connection

Feedback

Confetti

A bounded decorative celebration using the native Web Animations API.

User-triggered launch celebrationRepeatable bursts

Feedback

Dismissible

Manual contextual notice dismissal with controlled state and optional focus return.

Controlled success noticeRestore action and focus return

Feedback

ProductTour

An optional modal workspace guide with highlighted targets, step controls, and explicit focus return.

Highlighted workspace guideBack / Next / Finish

Feedback

Breadcrumb

Trail of links showing the current page hierarchy.

Full hierarchyCollapsed hierarchy

Navigation

Dropdown Menu

Context menu with items, separators, and keyboard navigation.

Action itemsCheckbox item

Navigation

Command

Command palette (Cmd+K) with searchable list of actions and pages.

SearchGroups

Navigation

Button

Primary action trigger with variants: default, destructive, outline, secondary, ghost, link. Multiple sizes available.

Six visual variantsEight sizes

Navigation

Tabs

Tabbed interface for switching between content panels. Supports controlled and uncontrolled modes.

Two panelsDisabled tab

Navigation

Pagination

Bounded pagination with compact page windows and result announcements.

Page window and ellipsesBounded navigation

Navigation

ContextMenu

Contextual actions with checkable items and nested menus.

Right-click actionsCheckbox item

Navigation

NavigationMenu

Link navigation with keyboard-accessible disclosure panels.

Disclosure panelDirect link

Navigation

Menubar

An application command bar with menus and checkable settings.

File commandsCheckable view setting

Navigation

ButtonGroup

A labeled cluster of related actions in either orientation.

Horizontal actionsVertical icon actions

Navigation

Tree

Hierarchical selection with expansion, disabled nodes, and keyboard navigation.

Nested foldersControlled selection

Navigation

ScrollSpy

Section navigation that follows a bounded, independently scrollable guide.

Launch guideActive section links

Navigation

NavOverflow

A single-line navigation that moves items which do not fit into More.

Responsive workspace navigationCompact navigation

Navigation

ScrollToTop

A threshold-aware return control for the document or a bounded scroll region.

Bounded release guideThreshold disabled state

Navigation

LazyChart

Defer mounting chart content until it approaches the viewport.

Viewport-triggered contentReserved placeholder height

Shared Components

DataTable

Full-featured data table built on TanStack Table with column filtering, sorting, pagination, CSV export, and mobile responsive card view.

Search and sortFaceted filters

Shared Components

PageHeader

Reusable page header with title, description, breadcrumbs, and action slot.

BreadcrumbsDescription

Shared Components

ConfirmDialog

Pre-configured confirmation dialog for destructive actions with customizable title, message, and button labels.

Default confirmationDestructive confirmation

Shared Components

EmptyState

Placeholder display for empty data states with icon, title, description, and optional action button.

Illustrated empty stateRecovery action

Shared Components

DateRangePicker

Date range selector with native date inputs and preset ranges.

Custom date inputsFive relative presets

Shared Components

Stepper

Reusable progress navigation for multi-step workflows.

Horizontal navigationRead-only vertical

Shared Components

FilterBuilder

Typed text, number, and select conditions with AND/OR matching.

Text and number rulesSelect values

Shared Components

Clipboard

Reusable copy action with success, failure, and pending states.

Editable invitationPrimary command action

Shared Components

EventCalendar

Reusable month, week, and agenda scheduling with local civil-date events.

Month with event overflowSeven-day week

Shared Components

SortableList

Controlled vertical ordering with pointer, touch, keyboard, and move-button controls.

Editable launch orderDrag handles

Shared Components

Chat

Presentational conversations with a controlled history and an asynchronous composer.

Incoming/outgoing messagesDelivery labels

Shared Components

PricingTable

Responsive plan comparisons with explicit monthly and annual billed totals.

Three plan cardsMonthly and annual totals

Shared Components

Kanban

A controlled task board with drag handles, native move controls, empty columns, and custom card content.

Controlled project workflowPointer and keyboard dragging

Shared Components