Overview
Browse the component library, try live examples, and find installation instructions.
Browse the catalog to find a component and try it before adding it to your project.
Accordion
UI SDK accordion with animated panels, shared sizes, and accessible headings.
Account Menu
Account identity and a responsive menu with app-owned actions.
Alert
Compound inline alerts with semantic tones, soft surfaces, actions, controlled dismissal, and optional idle timeout.
Alert Dialog
UI SDK alert dialog with accessible confirmation and async actions.
Audio Player
A compound native audio player with accessible seeking, playback, volume and speed controls.
Audio Visualizer
Standalone canvas spectrum with real Web Audio analysis and eight visual modes.
Autocomplete
A UI SDK text field with suggestions, adaptive presentation, and component styling.
Badge
Detailed status badges with semantic colors, custom icons, compact sizes, and optional progress animation.
Button
A tactile Base UI button with an inset edge highlight, soft gradient, and raised shadow.
Card
Compound display card with composable header, content, footer, optional bookmark toggle, and accent bar.
Checkbox
A UI SDK checkbox with shared sizes, mixed state, and native form support.
Code Block
Single-module compound code block with lazy Shiki highlighting, annotated diffs, copy and sliding line feedback.
Collapsible
A single UI SDK disclosure panel with styled triggers and measured transitions.
Combobox
Search a set of options and choose one or several values.
Command
Find and run actions from a searchable list.
Date Picker
Composable date and range selection with a responsive popover and an integrated day grid.
Dialog
A compound UI SDK modal dialog with responsive viewports, accessible focus trapping, size tiers, and semantic surface detailing.
Drawer
Open a panel from a screen edge for filters, settings, or details.
Dropdown Menu
Compound action menu with rich items, selection controls, submenus, and a shared sliding highlight.
Empty State
Server-compatible compound empty states with optional media, descriptions, supporting content, and actions.
Energy Slider
A stepped UI SDK slider with a color-matched fill and decorative energy particles.
Field
Give form controls a consistent label, description, and error message.
File Upload
UI SDK File Input with styled drop zones, file lists, and native forms.
Image Comparison
Composable before/after comparison with native slider interaction.
Input
Unified input surfaces with native props, CSS floating and wave labels, icons, and accessible descriptions.
Input Group
Join fields, autocomplete, and buttons in one control row.
List
A compound semantic list surface with aligned header and footer regions, row dividers, media slots, and opt-in sliding highlight.
Notification Inbox
Compound notification inbox with native lists, Base UI tabs and shared sliding feedback.
Number Input
A UI SDK number input with locale formatting, step buttons, scrubbing, and shared sizes.
Otp Input
UI SDK verification code input with styled slots, paste, and native forms.
Pagination
UI SDK page navigation with styled controls and composable page ranges.
Popover
A compound UI SDK popover with a curved pointer, subtle blur/fade motion, and composable help and action panels.
Progress
Show how much of a task is complete or indicate that work is still underway.
Radio
A UI SDK radio group with shared sizes, animated indicators, and native form support.
Rating
UI SDK rating with fractional stars, custom icons, and native form support.
Select
Compound UI SDK Select with theme tokens, flexible labels, grouped options, and adaptive sheets.
Separator
A server-compatible theme-derived gradient rule with horizontal and vertical orientations.
Slider
A labeled, full-row slider powered by UI SDK with an inline value, filled track, and thin handle.
Switch
A theme-aware switch with a wide pill thumb and CSS slide.
Tabs
Compound UI SDK tabs with six theme-aware surface treatments, optional panel sliding and shared hover feedback.
Textarea
Multiline UI SDK text field with Input variants, labels, and automatic resizing.
Ticket Card
Native server-compatible compound receipt parts with paper texture, cutouts, reflective payment summary, and real barcode encoding.
Time Input
UI SDK time entry with localized segments and shared Date Picker styling.
Timeline
A UI SDK timeline with keyboard navigation, connected markers, and optional feed semantics.
Toast
Show a short message after an action, with optional follow-up actions such as Undo.
Toggle
UI SDK pressed buttons and keyboard-navigable groups with component styling.
Token Input
A UI SDK editor for mixed text and atomic mention and file tokens.
Tooltip
Compact compound tooltips with curved pointers, theme-aware surfaces, and UI SDK hover and focus behavior.
Tree
Expandable UI SDK tree with styled rows, selection, and cascading checkboxes.
Wallet Card
Server-compatible compound wallet with layered accounts, a stitched pocket, and a native account disclosure.
Hooks
Icons & Illustrations
What’s on each component page
- Preview shows what the component does. Try the live examples and open Usage to see their code.
- Info explains the component’s parts, props, and accessibility behavior.
- Install shows how to add the component to your project.
Using the Agent Console
Open Agent in a component preview. Read the snapshot to see the controls on the page and the actions each one supports. Use the control’s accessible name or reference to identify it, and query its choices before changing a selection. Open a menu, dialog, or tab first if its controls only appear when shown.
When connecting an agent to your own app, handle changes in the same app callbacks you use for people. Where the SDK supplies change details, use details.source to identify agent changes and details.cancel() to refuse a change. Protect sensitive values with data-agent-secret, exclude private regions with data-agent-hidden, and use data-agent-confirm with a permission check for sensitive actions. Keep server-side validation and authorization in place.
For Claude, Codex, and other agents writing code, each component’s Guidance for coding agents explains how to integrate it and where to look up inherited SDK behavior.
Add a component to the library
Run bun run component:add <name> to create the component, an example, a docs page, an install registry entry, and a sidebar link. Import examples directly in the component’s MDX page. New components appear in this catalog automatically.