U
UISet
/
ui
Files
Code
Info
Accordion
Sections that open one or many at a time.
Address
An address whose fields follow its country: the order it writes them in, its names for them (ZIP code, Eircode, Prefecture), the ones it requires, a list of regions where it has one, and its postal code's shape, from Google's address data for 252 countries. Autofill fills it; an agent fills it in one step by field name.
Agent Console
agent-console
The human side of the UI SDK agent bridge: approvals in your app, an activity feed with undo, highlights where the agent changed something, a thread and a prompt.
Alert
An inline message in four tones that names its tone, interrupts only when urgent, and can be dismissed.
Alert dialog
alert-dialog
A confirmation that interrupts, with agent confirmation built in.
App shell
app-shell
A sidebar layout that collapses to icons with Mod+B, remembers it, and becomes a drawer on narrow screens; with sidebar navigation.
Autocomplete
Free text with suggestions as you type.
Avatar
A person's image with initials as the fallback.
Avatar group
avatar-group
Avatars stacked in a row, with a count of the ones that don't fit.
Badge
A short status label in five tones, readable in every skin, and a count badge for the corner of an icon or avatar.
Bar chart
bar-chart
Categories compared: columns or horizontal bars, grouped or stacked, ranked, with thin marks and values at the tips.
Board
A kanban board on UI SDK createTransfer: one tab stop, arrows across cards and columns, Space to carry a card, drag with the pointer, column limits, add in place, a details dialog to edit, move or delete, filters, and agent actions.
Breadcrumbs
Where you are, with the current page marked.
Button
A button in solid, outline and ghost variants, and one that asks for a second press.
Calendar
A month grid for picking dates, ready to use as is.
Canvas
A node editor on UI SDK's canvas behaviors: pan and zoom, drag nodes or move them with Alt and arrows, spatial focus, Shift-drag box selection, wires drawn by pointer or with C and arrows, a minimap, zoom controls, a toolbar, an inspector, undo, and agent actions.
Card
A bordered block with header, title, description, content and footer.
Carousel
Slides with previous and next controls and keyboard paging.
Chart
The frame every UISet chart shares: title, a legend that isolates series, a Chart/Table switch with the table twin, a keyboard listbox of data positions, tooltips, palettes validated for color blindness per skin, and agent actions.
Chat
A conversation built on UI SDK: thread that follows new messages, messages with avatars, actions and versions, suggestions, plans and a thinking shimmer.
Chat composer
chat-composer
The message box: Enter to send, history with ArrowUp, slash commands and mentions, attachments by drop, paste or picker, a model picker, a usage meter, and the messages queued while the agent works.
Chat message parts
chat-message-parts
Draws a Vercel AI SDK message's parts with the chat kit: Markdown text that completes while it streams, reasoning, tool calls in every state with approvals, sources, files, a plan, checkpoints and subagent runs. No dependency on the ai package.
Chat parts
chat-parts
Reasoning that opens while the model thinks, tool calls with status, input and output and Allow or Deny when one waits for approval, subagent runs with their own steps, checkpoints to restore, sources, citations and images.
Chat response
chat-response
Streaming markdown that repairs itself mid-stream and never renders raw HTML, with code blocks highlighted by skin colors.
Chat sidebar
chat-sidebar
A list of chats with rename and confirmed delete, and a floating assistant launcher.
Checkbox
A checkbox with its check mark, and checkbox groups.
Code block
code-block
Code in its language's colors with a file name, line numbers, marked lines and a copy button; tabs for versions of the same code; and one command for npm, pnpm, yarn and bun that remembers the choice.
Collapsible
One section that shows and hides.
Color picker
color-picker
Area, hue and alpha sliders, swatch and hex input, ready to use.
Combobox
Search a list and choose one or several.
Command
A searchable list of commands, for palettes and launchers.
Copy button
copy-button
Copies a value and says so.
Crossfade
Content swapped in place, each skin its own way, while the box moves to the new content's size. The leaving content can't be reached or read.
Data grid
data-grid
A spreadsheet-grade grid on UI SDK: virtualized rows, sorting, filters, grouping, pinned, resizable and movable columns, row and cell selection, inline editing with validation, clipboard copy and paste, CSV export, a saved layout and agent actions.
Date input
date-input
A date typed segment by segment, in the reader's locale.
Date picker
date-picker
A date field with a calendar popup.
Description list
description-list
Terms and their details.
Dialog
A modal window for a focused task, closed by Escape or its close button.
Drawer
A panel that slides in from an edge.
Empty state
empty-state
What to do when there's nothing here yet.
Fader
A vertical UI SDK slider with its label and readout.
Field
A label, control, description and error, connected for screen readers.
File input
file-input
Choose, drop or paste files, with validation.
Heatmap
Magnitude on a grid in one hue, with a scale and arrows that move by cell and by row.
Hover card
hover-card
A preview that opens on hover or focus.
IDE
A code editor's parts on UI SDK: a file tree on Tree with version control marks, New, Rename, Move and Delete, and files dragged into folders; editor tabs on Tabs; a code editor with syntax colors, indenting and problems; a command palette on Command; problems and a status bar.
Image cropper
image-cropper
Crop, zoom, rotate and flip an image.
Inline edit
inline-edit
Text you edit where it shows: press it, Enter or F2 to edit, Enter to save, Escape to cancel, with validation and optional Save and Cancel buttons.
Input
A text field, with clear button and groups.
Input mask
input-mask
Fields formatted as they're typed with the caret kept in place: card numbers grouped by brand with the brand named, expiry dates and security codes, IBANs checked by country and checksum, amounts grouped in the locale, and patterns of your own. Each checks itself and reports its value without separators; agents set them in any format.
Item list
item-list
Rows with media, title, description, meta and actions.
Keyboard key
kbd
Keys written the way this platform writes them.
Knob
A rotary control built as a UI SDK primitive: drag, arrow keys, log scales, double-click reset, agent actions.
Label
A label for any control.
Level meter
level-meter
A UI SDK meter drawn as an LED ladder.
Line chart
line-chart
Trends over time: one or more lines, a soft area for one series, or stacked areas, with a crosshair that lists every series and labels at line ends.
Listbox
An always-visible list to choose from.
Menu
Actions from a button or a right click, with submenus.
Menubar
An application menu bar.
Meter
A measurement within a range, as a bar or a ring.
Mobile
Phone app parts on UI SDK: rows that swipe aside to actions (createSwipeActions), wheel pickers and a time wheel (bindScrollPicker), bottom sheets and action sheets (Drawer), pull to refresh, an app bar and a tab bar.
Navigation menu
navigation-menu
Site navigation with panels.
Number input
number-input
A number field with named step buttons, ready to use.
Number ticker
number-ticker
A number that moves to its new value, each skin its own way: Base rolls its digits, Blueprint counts, Studio steps, Phosphor types it, Ink redraws. It can count up once when first seen. People and agents read the value itself.
One-time code
otp-input
A one-time code field with a slot per character.
Page header
page-header
A page title with description and actions.
Pagination
Page links with named previous and next, ready to use.
Password input
password-input
A password field with a show toggle.
Patch bay
patch-bay
Jacks and cables built on UI SDK createConnect: patch by drag, keyboard or agent.
Payments
How to pay and what it pays for: payment methods as cards to choose from, card fields whose security code follows the brand, a bank account by IBAN with its mandate, an order summary with a discount code and totals in the shop's currency, and a Pay button an agent can't press without a person.
Phone input
phone-input
A phone number with a country picker: formatted as it's typed with the caret kept in place, a typed calling code chooses the country, any script's digits, left to right on any page, and the value in E.164. Agents set the number in any format and the country by name.
Popover
A panel beside its trigger.
Preferences
User preferences applied as data attributes and saved.
Progress
Progress of a task, as a bar or a ring.
Radio
Radio groups with their dot, and cards that choose an option wherever you press.
Rating
A star rating, ready to use.
Resizable
Panels you resize by dragging or with the keyboard.
Rich text editor
rich-text
A rich text editor on UI SDK with no editor library: headings, nested and numbered lists, to-dos, quotes, code, links, mentions, dividers and images; a toolbar, Markdown as you type, "/" for blocks and "@" for people (TriggerMenu); safe paste from documents and the web; undo; Markdown and clean HTML out; agents read and write Markdown.
Scatter chart
scatter-chart
Two measures per item, up to three groups, with hover that finds the nearest point.
Scheduler
Calendars on UI SDK createSpans: a week, a day or a room timeline where people draw, move and resize events with the pointer or arrows, overlapping events sharing lanes, a month view, a toolbar, an event dialog, and agent actions.
Schema form
schema-form
A form from one definition: its fields with UISet's controls, steps with a review, checks as people type and on submit, and an agent that fills it by field name while a person approves the submit. The same definition is JSON Schema for an agent tool.
Scroll area
scroll-area
Styled scrolling, plus ScrollBox with the parts in place.
Search field
search-field
A search box with a clear button and a key that focuses it from anywhere.
Segmented bar
segmented-bar
One whole split into up to six parts, with shares printed where they fit: the readable answer to a donut.
Segmented control
segmented-control
One choice among a few, in a row with a moving indicator.
Select
Choose from a list in a popup; the trigger shows what's chosen.
Separator
A line between content.
Skeleton
Loading placeholders, and a Loading region that announces once.
Slider
A range slider whose track, fill and named thumbs render in one line.
Sortable list
sortable-list
A list people put in order: drag an item by its grip, or pick it up with Space and move it with the arrows. Select several to move together, lock items in place, and let agents move items by name.
Sortable tree
sortable-tree
A tree people reorder and nest: drag a row up or down and sideways to change its level, or pick it up with Space and use the arrows. Only branches hold items, a drop elsewhere goes back and says why, and agents move items into branches by name.
Sparkline
A trend inside text, a table cell or a stat, whose name says where the values went. Works in Server Components.
Spinner
A loading indicator that says what's loading.
Stat
A number with its change, said in words as well as color, and an optional trend sparkline.
Step sequencer
step-sequencer
A row of steps built on UI SDK ToggleGroup, with downbeats and a playhead.
Stepper
Steps of a flow with the current one marked and later ones locked.
Switch
An on and off switch, with its thumb in place.
Table
A plain HTML table in a scroll area: sticky headings, a sticky first column, and rows that stack into labelled blocks on narrow screens.
Tabs
Panels that share one space, switched by a row of tabs.
Tag input
tag-input
Tags people type, paste or pick: a comma or Enter adds one, a pasted list becomes one tag each, and Enter or F2 edits a tag in place. No duplicates, a limit, your own rules with the reason shown, and agents add and remove tags by name.
Terminal
A terminal on UI SDK's input history and stick-to-bottom: ANSI colors kept readable in every skin, links, streaming commands with progress lines, Tab completion, Ctrl+C and Ctrl+L, built-in help, clear and history, and agent actions.
Text reveal
text-reveal
Text that arrives a word or a letter at a time, each skin its own way, and reveals only what's new as a streamed answer grows. The whole text is in the page from the start, for screen readers and agents.
Textarea
Multi-line text that can grow with its content, and a count of its limit.
Thinking
A wait, each skin its own way: words that shimmer, moving hatching, an LED chase, printing dots, or still dots. A status, so screen readers hear it once.
Time input
time-input
A time typed segment by segment.
Timeline
Events in order, with markers and a connecting line.
Toast
Notifications, with a Toaster ready to render once.
Toggle
Pressed buttons and toggle groups.
Token input
token-input
Text mixed with tokens for files, people or tags.
Toolbar
Buttons and toggles with one tab stop.
Tooltip
A short hint on hover or focus.
Tree
A hierarchy you expand and select.
Trigger menu
trigger-menu
Suggestions after @, / or # in a text field.
UISet
The UISet root: skins, a key color, and sound and haptics for every UI SDK component inside it.
Upload
A drop zone and a queue of uploads on UI SDK's File input: each file's preview, progress and status, with cancel, retry and remove, a few going up at a time, to whatever storage you use.
Waterfall
Spans on a time axis, like request timings or a trace.
Select a component to view its code
Click on any item in the sidebar to get started
Select a component to view its information
Accordion
Sections that open one or many at a time.
Address
An address whose fields follow its country: the order it writes them in, its names for them (ZIP code, Eircode, Prefecture), the ones it requires, a list of regions where it has one, and its postal code's shape, from Google's address data for 252 countries. Autofill fills it; an agent fills it in one step by field name.
Agent Console
agent-console
The human side of the UI SDK agent bridge: approvals in your app, an activity feed with undo, highlights where the agent changed something, a thread and a prompt.
Alert
An inline message in four tones that names its tone, interrupts only when urgent, and can be dismissed.
Alert dialog
alert-dialog
A confirmation that interrupts, with agent confirmation built in.
App shell
app-shell
A sidebar layout that collapses to icons with Mod+B, remembers it, and becomes a drawer on narrow screens; with sidebar navigation.
Autocomplete
Free text with suggestions as you type.
Avatar
A person's image with initials as the fallback.
Avatar group
avatar-group
Avatars stacked in a row, with a count of the ones that don't fit.
Badge
A short status label in five tones, readable in every skin, and a count badge for the corner of an icon or avatar.
Bar chart
bar-chart
Categories compared: columns or horizontal bars, grouped or stacked, ranked, with thin marks and values at the tips.
Board
A kanban board on UI SDK createTransfer: one tab stop, arrows across cards and columns, Space to carry a card, drag with the pointer, column limits, add in place, a details dialog to edit, move or delete, filters, and agent actions.
Breadcrumbs
Where you are, with the current page marked.
Button
A button in solid, outline and ghost variants, and one that asks for a second press.
Calendar
A month grid for picking dates, ready to use as is.
Canvas
A node editor on UI SDK's canvas behaviors: pan and zoom, drag nodes or move them with Alt and arrows, spatial focus, Shift-drag box selection, wires drawn by pointer or with C and arrows, a minimap, zoom controls, a toolbar, an inspector, undo, and agent actions.
Card
A bordered block with header, title, description, content and footer.
Carousel
Slides with previous and next controls and keyboard paging.
Chart
The frame every UISet chart shares: title, a legend that isolates series, a Chart/Table switch with the table twin, a keyboard listbox of data positions, tooltips, palettes validated for color blindness per skin, and agent actions.
Chat
A conversation built on UI SDK: thread that follows new messages, messages with avatars, actions and versions, suggestions, plans and a thinking shimmer.
Chat composer
chat-composer
The message box: Enter to send, history with ArrowUp, slash commands and mentions, attachments by drop, paste or picker, a model picker, a usage meter, and the messages queued while the agent works.
Chat message parts
chat-message-parts
Draws a Vercel AI SDK message's parts with the chat kit: Markdown text that completes while it streams, reasoning, tool calls in every state with approvals, sources, files, a plan, checkpoints and subagent runs. No dependency on the ai package.
Chat parts
chat-parts
Reasoning that opens while the model thinks, tool calls with status, input and output and Allow or Deny when one waits for approval, subagent runs with their own steps, checkpoints to restore, sources, citations and images.
Chat response
chat-response
Streaming markdown that repairs itself mid-stream and never renders raw HTML, with code blocks highlighted by skin colors.
Chat sidebar
chat-sidebar
A list of chats with rename and confirmed delete, and a floating assistant launcher.
Checkbox
A checkbox with its check mark, and checkbox groups.
Code block
code-block
Code in its language's colors with a file name, line numbers, marked lines and a copy button; tabs for versions of the same code; and one command for npm, pnpm, yarn and bun that remembers the choice.
Collapsible
One section that shows and hides.
Color picker
color-picker
Area, hue and alpha sliders, swatch and hex input, ready to use.
Combobox
Search a list and choose one or several.
Command
A searchable list of commands, for palettes and launchers.
Copy button
copy-button
Copies a value and says so.
Crossfade
Content swapped in place, each skin its own way, while the box moves to the new content's size. The leaving content can't be reached or read.
Data grid
data-grid
A spreadsheet-grade grid on UI SDK: virtualized rows, sorting, filters, grouping, pinned, resizable and movable columns, row and cell selection, inline editing with validation, clipboard copy and paste, CSV export, a saved layout and agent actions.
Date input
date-input
A date typed segment by segment, in the reader's locale.
Date picker
date-picker
A date field with a calendar popup.
Description list
description-list
Terms and their details.
Dialog
A modal window for a focused task, closed by Escape or its close button.
Drawer
A panel that slides in from an edge.
Empty state
empty-state
What to do when there's nothing here yet.
Fader
A vertical UI SDK slider with its label and readout.
Field
A label, control, description and error, connected for screen readers.
File input
file-input
Choose, drop or paste files, with validation.
Heatmap
Magnitude on a grid in one hue, with a scale and arrows that move by cell and by row.
Hover card
hover-card
A preview that opens on hover or focus.
IDE
A code editor's parts on UI SDK: a file tree on Tree with version control marks, New, Rename, Move and Delete, and files dragged into folders; editor tabs on Tabs; a code editor with syntax colors, indenting and problems; a command palette on Command; problems and a status bar.
Image cropper
image-cropper
Crop, zoom, rotate and flip an image.
Inline edit
inline-edit
Text you edit where it shows: press it, Enter or F2 to edit, Enter to save, Escape to cancel, with validation and optional Save and Cancel buttons.
Input
A text field, with clear button and groups.
Input mask
input-mask
Fields formatted as they're typed with the caret kept in place: card numbers grouped by brand with the brand named, expiry dates and security codes, IBANs checked by country and checksum, amounts grouped in the locale, and patterns of your own. Each checks itself and reports its value without separators; agents set them in any format.
Item list
item-list
Rows with media, title, description, meta and actions.
Keyboard key
kbd
Keys written the way this platform writes them.
Knob
A rotary control built as a UI SDK primitive: drag, arrow keys, log scales, double-click reset, agent actions.
Label
A label for any control.
Level meter
level-meter
A UI SDK meter drawn as an LED ladder.
Line chart
line-chart
Trends over time: one or more lines, a soft area for one series, or stacked areas, with a crosshair that lists every series and labels at line ends.
Listbox
An always-visible list to choose from.
Menu
Actions from a button or a right click, with submenus.
Menubar
An application menu bar.
Meter
A measurement within a range, as a bar or a ring.
Mobile
Phone app parts on UI SDK: rows that swipe aside to actions (createSwipeActions), wheel pickers and a time wheel (bindScrollPicker), bottom sheets and action sheets (Drawer), pull to refresh, an app bar and a tab bar.
Navigation menu
navigation-menu
Site navigation with panels.
Number input
number-input
A number field with named step buttons, ready to use.
Number ticker
number-ticker
A number that moves to its new value, each skin its own way: Base rolls its digits, Blueprint counts, Studio steps, Phosphor types it, Ink redraws. It can count up once when first seen. People and agents read the value itself.
One-time code
otp-input
A one-time code field with a slot per character.
Page header
page-header
A page title with description and actions.
Pagination
Page links with named previous and next, ready to use.
Password input
password-input
A password field with a show toggle.
Patch bay
patch-bay
Jacks and cables built on UI SDK createConnect: patch by drag, keyboard or agent.
Payments
How to pay and what it pays for: payment methods as cards to choose from, card fields whose security code follows the brand, a bank account by IBAN with its mandate, an order summary with a discount code and totals in the shop's currency, and a Pay button an agent can't press without a person.
Phone input
phone-input
A phone number with a country picker: formatted as it's typed with the caret kept in place, a typed calling code chooses the country, any script's digits, left to right on any page, and the value in E.164. Agents set the number in any format and the country by name.
Popover
A panel beside its trigger.
Preferences
User preferences applied as data attributes and saved.
Progress
Progress of a task, as a bar or a ring.
Radio
Radio groups with their dot, and cards that choose an option wherever you press.
Rating
A star rating, ready to use.
Resizable
Panels you resize by dragging or with the keyboard.
Rich text editor
rich-text
A rich text editor on UI SDK with no editor library: headings, nested and numbered lists, to-dos, quotes, code, links, mentions, dividers and images; a toolbar, Markdown as you type, "/" for blocks and "@" for people (TriggerMenu); safe paste from documents and the web; undo; Markdown and clean HTML out; agents read and write Markdown.
Scatter chart
scatter-chart
Two measures per item, up to three groups, with hover that finds the nearest point.
Scheduler
Calendars on UI SDK createSpans: a week, a day or a room timeline where people draw, move and resize events with the pointer or arrows, overlapping events sharing lanes, a month view, a toolbar, an event dialog, and agent actions.
Schema form
schema-form
A form from one definition: its fields with UISet's controls, steps with a review, checks as people type and on submit, and an agent that fills it by field name while a person approves the submit. The same definition is JSON Schema for an agent tool.
Scroll area
scroll-area
Styled scrolling, plus ScrollBox with the parts in place.
Search field
search-field
A search box with a clear button and a key that focuses it from anywhere.
Segmented bar
segmented-bar
One whole split into up to six parts, with shares printed where they fit: the readable answer to a donut.
Segmented control
segmented-control
One choice among a few, in a row with a moving indicator.
Select
Choose from a list in a popup; the trigger shows what's chosen.
Separator
A line between content.
Skeleton
Loading placeholders, and a Loading region that announces once.
Slider
A range slider whose track, fill and named thumbs render in one line.
Sortable list
sortable-list
A list people put in order: drag an item by its grip, or pick it up with Space and move it with the arrows. Select several to move together, lock items in place, and let agents move items by name.
Sortable tree
sortable-tree
A tree people reorder and nest: drag a row up or down and sideways to change its level, or pick it up with Space and use the arrows. Only branches hold items, a drop elsewhere goes back and says why, and agents move items into branches by name.
Sparkline
A trend inside text, a table cell or a stat, whose name says where the values went. Works in Server Components.
Spinner
A loading indicator that says what's loading.
Stat
A number with its change, said in words as well as color, and an optional trend sparkline.
Step sequencer
step-sequencer
A row of steps built on UI SDK ToggleGroup, with downbeats and a playhead.
Stepper
Steps of a flow with the current one marked and later ones locked.
Switch
An on and off switch, with its thumb in place.
Table
A plain HTML table in a scroll area: sticky headings, a sticky first column, and rows that stack into labelled blocks on narrow screens.
Tabs
Panels that share one space, switched by a row of tabs.
Tag input
tag-input
Tags people type, paste or pick: a comma or Enter adds one, a pasted list becomes one tag each, and Enter or F2 edits a tag in place. No duplicates, a limit, your own rules with the reason shown, and agents add and remove tags by name.
Terminal
A terminal on UI SDK's input history and stick-to-bottom: ANSI colors kept readable in every skin, links, streaming commands with progress lines, Tab completion, Ctrl+C and Ctrl+L, built-in help, clear and history, and agent actions.
Text reveal
text-reveal
Text that arrives a word or a letter at a time, each skin its own way, and reveals only what's new as a streamed answer grows. The whole text is in the page from the start, for screen readers and agents.
Textarea
Multi-line text that can grow with its content, and a count of its limit.
Thinking
A wait, each skin its own way: words that shimmer, moving hatching, an LED chase, printing dots, or still dots. A status, so screen readers hear it once.
Time input
time-input
A time typed segment by segment.
Timeline
Events in order, with markers and a connecting line.
Toast
Notifications, with a Toaster ready to render once.
Toggle
Pressed buttons and toggle groups.
Token input
token-input
Text mixed with tokens for files, people or tags.
Toolbar
Buttons and toggles with one tab stop.
Tooltip
A short hint on hover or focus.
Tree
A hierarchy you expand and select.
Trigger menu
trigger-menu
Suggestions after @, / or # in a text field.
UISet
The UISet root: skins, a key color, and sound and haptics for every UI SDK component inside it.
Upload
A drop zone and a queue of uploads on UI SDK's File input: each file's preview, progress and status, with cancel, retry and remove, a few going up at a time, to whatever storage you use.
Waterfall
Spans on a time axis, like request timings or a trace.
Select a component to view its code
Click on any item in the sidebar to get started
Select a component to view its information