C
amitshrivastavaa
/
creance
/
ui
Files
Code
Info
AgentHandoffBanner
agent-handoff-banner
The point where the agent hands control back: outcome, summary, next actions.
AgentRunLayout
agent-run-layout
The run screen. It takes organisms as slots, so your app decides what goes where.
Alert
alert
A message in the page: what happened and what to do.
AppShell
app-shell
The frame of an app: sidebar, header, content and an optional aside.
ApprovalPrompt
approval-prompt
One specific action to allow or deny. A, Shift+A and D work while focus is inside it.
Avatar
avatar
Agents are rounded squares; people are circles.
Badge
badge
A status as tone, icon and word.
Banner
banner
A full-width notice in three tones.
BarChart
bar-chart
Amounts across categories. More than one series stacks.
BarList
bar-list
A ranking: a name, a bar and a value on every row.
Breadcrumbs
breadcrumbs
Where you are. Long trails fold the middle.
BrowserFrame
browser-frame
A browser window drawn around a preview.
BudgetMeter
budget-meter
Spend against a limit. It warns at 80% and flags going over.
Button
button
A glass capsule. Blue is for the one primary action; red text marks refusal.
Calendar
calendar
A day or a range. Arrow keys move by day, Page Up and Down by month.
Card
card
A glass tile for grouping related content.
Chat
chat
A whole conversation with an agent: messages, suggestions and the input. Type something to try it.
Checkbox
checkbox
A native checkbox with its label.
CheckpointRewind
checkpoint-rewind
Pick a point to roll back to and see what it undoes before confirming.
Choicebox
choicebox
Card-sized options for a choice that needs a sentence each.
ClearableInput
clearable-input
A text field with a clear button that puts focus back in the field.
Code
code
Inline code, or a scrollable block.
Collapse
collapse
Sections that open and close.
Combobox
combobox
Type to filter and pick one. Arrow keys move, Enter picks, Escape closes.
CommandMenu
command-menu
Search everything and act from the keyboard. Press ⌘K or Ctrl+K to see it in use: the search on this site is a CommandMenu.
ConfidenceMeter
confidence-meter
How sure the agent is: a range in words with reasons, never a percentage.
ContextCard
context-card
A preview on hover or keyboard focus. Focus never moves into it.
ContextMenu
context-menu
Opens on right-click, long-press, or Shift+F10.
CopyButton
copy-button
Copies text, shows a check for two seconds, and tells screen readers.
Description
description
Terms and their values.
DestructiveActionModal
destructive-action-modal
For actions that cannot be undone. The red button stays off until the name is typed.
Dialog
dialog
A question over a dimmed page. It traps focus and returns it when closed.
DiffLine
diff-line
One line of a diff, with line numbers and screen-reader text.
DiffReview
diff-review
A decision per hunk before anything lands. J and K move, Y and N decide.
DonutChart
donut-chart
Parts of a whole, with each slice’s value and share in the legend.
DotsMenu
dots-menu
A "…" button with secondary actions for one row.
EmptyState
empty-state
An empty list as an invitation to act.
Entity
entity
An agent or a person as a row.
ErrorCard
error-card
A failure that needs a decision: what broke, the error, and what you can do.
ErrorMessage
error-message
What went wrong and what to do next.
Feedback
feedback
Thumbs up or down, then an optional comment.
Field
field
A label, a control, and the hint or error that describes it, wired for screen readers.
FileTree
file-tree
Files and folders with change markers. Arrow keys walk the tree.
FleetSky
fleet-sky
Many agents at once, as birds on lines back to you. The one that needs you flies in on a taut line.
Footer
footer
The end of a page: brand, groups of links, and a line for copyright.
Gauge
gauge
A ring that fills to a percentage. Red only past a limit you set.
IconButton
icon-button
A button with only an icon. Its label is required and shows as a tooltip.
Input
input
A text field.
JsonView
json-view
JSON as a tree you can fold.
Kbd
kbd
A keyboard key.
KeyboardHint
keyboard-hint
A shortcut and what it does.
KillSwitch
kill-switch
Hold for a second to stop the agent. Letting go early does nothing. Space or Enter held does the same.
LineChart
line-chart
A trend over time. Point at it, or focus it and press the arrow keys.
LoadMoreButton
load-more-button
A full-width button under a list that says when it is loading.
LoadingDots
loading-dots
Three dots beside what is happening.
Menu
menu
Actions behind a button. Put destructive ones last, after a separator.
Message
message
One turn. Yours sit right in a tile; the agent’s are plain text under its name.
MessageList
message-list
A scrolling column that follows new messages until you scroll up.
MiddleTruncate
middle-truncate
Shortens the middle of a path or ID and keeps both ends.
ModelPicker
model-picker
Chooses which model answers.
MultiSelect
multi-select
Pick several. Picks become chips; Backspace removes the last one.
Navbar
navbar
The bar across the top. When it gets narrow, the links move into a menu.
NeedsYouInbox
needs-you-inbox
Everything blocked on a person, across agents, most urgent first.
Pagination
pagination
Page numbers, or a compact previous and next.
PermissionLedger
permission-ledger
Everything you said "Always allow" to, how often it has been used, and a way to take it back.
PhoneFrame
phone-frame
A phone drawn around content, to show a component at phone size.
PlanEditor
plan-editor
Reorder, edit, remove and add steps before anything runs. Alt+Up and Alt+Down move a step.
ProgressBar
progress-bar
Progress toward a known total.
ProjectBanner
project-banner
A project-wide notice with one action.
PromptInput
prompt-input
Where you write to an agent. Enter sends; Send becomes Stop while it works.
QuestionCard
question-card
When the agent needs information rather than permission.
Radio
radio
A native radio with its label.
RadioGroup
radio-group
One choice from a short list.
Reasoning
reasoning
The agent’s thinking, folded away behind how long it took.
RelativeTimeCard
relative-time-card
"2 hours ago", with the exact local and UTC time on hover or focus.
RiskLabel
risk-label
How risky an action is, in words.
RunTimeline
run-timeline
The run's steps and tool calls. It follows the newest step until you scroll up.
Scroller
scroller
A horizontal strip that fades where there is more.
SearchInput
search-input
A search field with a shortcut hint, a spinner and a clear button.
Select
select
The native select, styled. The operating system draws the menu.
Separator
separator
A hairline between groups.
Sheet
sheet
A panel that slides in from an edge.
ShowMore
show-more
Long content cut to a few lines, with a button to show the rest.
Sidebar
sidebar
Links down the side, in groups. Collapses to icons that keep their names.
Skeleton
skeleton
A placeholder while content loads.
Slider
slider
One value, a range, or steps, read out in words.
Snippet
snippet
Shell commands with a copy button. The prompt sign is never copied.
Sources
sources
What an answer is based on, with numbered markers in the text.
Sparkline
sparkline
A trend with no axes, for a table cell or a stat card.
Spinner
spinner
Something is happening, with no known end.
SplitButton
split-button
The common action, with alternatives in a menu.
StatCard
stat-card
One number, what it is, and how it moved.
StatusBadge
status-badge
A status with a running clock.
StatusDot
status-dot
A small mark and a word. Each status has its own shape as well as tone.
Steps
steps
Where someone is in a fixed sequence. Each status has a shape and a spoken label.
Suggestions
suggestions
Starting points above the input. Choosing one sends it.
Switch
switch
An on/off setting that applies immediately.
Table
table
Sortable columns, row selection with Shift-click ranges, and bulk actions.
Tabs
tabs
A segmented control and its panels. Arrow keys move between tabs.
TextWithCopy
text-with-copy
Text with a copy button beside it.
Textarea
textarea
A multi-line text field.
ThemeSwitcher
theme-switcher
Light, dark or match the system. This one really switches this page, starting from its current theme.
Toast
toast
A short message that rises from the bottom. Call toast() from anywhere.
Toggle
toggle
A button that stays on or off.
ToggleGroup
toggle-group
A segmented control: pick one, or any.
ToolCallCard
tool-call-card
One tool call's whole life: input, result, errors and retries.
ToolCallHeader
tool-call-header
Names a tool call and shows its state and attempt.
Tooltip
tooltip
Extra text on hover and keyboard focus.
Video
video
A player with glass controls. It starts muted and never autoplays.
Select a component to view its code
Click on any item in the sidebar to get started
Select a component to view its information
AgentHandoffBanner
agent-handoff-banner
The point where the agent hands control back: outcome, summary, next actions.
AgentRunLayout
agent-run-layout
The run screen. It takes organisms as slots, so your app decides what goes where.
Alert
alert
A message in the page: what happened and what to do.
AppShell
app-shell
The frame of an app: sidebar, header, content and an optional aside.
ApprovalPrompt
approval-prompt
One specific action to allow or deny. A, Shift+A and D work while focus is inside it.
Avatar
avatar
Agents are rounded squares; people are circles.
Badge
badge
A status as tone, icon and word.
Banner
banner
A full-width notice in three tones.
BarChart
bar-chart
Amounts across categories. More than one series stacks.
BarList
bar-list
A ranking: a name, a bar and a value on every row.
Breadcrumbs
breadcrumbs
Where you are. Long trails fold the middle.
BrowserFrame
browser-frame
A browser window drawn around a preview.
BudgetMeter
budget-meter
Spend against a limit. It warns at 80% and flags going over.
Button
button
A glass capsule. Blue is for the one primary action; red text marks refusal.
Calendar
calendar
A day or a range. Arrow keys move by day, Page Up and Down by month.
Card
card
A glass tile for grouping related content.
Chat
chat
A whole conversation with an agent: messages, suggestions and the input. Type something to try it.
Checkbox
checkbox
A native checkbox with its label.
CheckpointRewind
checkpoint-rewind
Pick a point to roll back to and see what it undoes before confirming.
Choicebox
choicebox
Card-sized options for a choice that needs a sentence each.
ClearableInput
clearable-input
A text field with a clear button that puts focus back in the field.
Code
code
Inline code, or a scrollable block.
Collapse
collapse
Sections that open and close.
Combobox
combobox
Type to filter and pick one. Arrow keys move, Enter picks, Escape closes.
CommandMenu
command-menu
Search everything and act from the keyboard. Press ⌘K or Ctrl+K to see it in use: the search on this site is a CommandMenu.
ConfidenceMeter
confidence-meter
How sure the agent is: a range in words with reasons, never a percentage.
ContextCard
context-card
A preview on hover or keyboard focus. Focus never moves into it.
ContextMenu
context-menu
Opens on right-click, long-press, or Shift+F10.
CopyButton
copy-button
Copies text, shows a check for two seconds, and tells screen readers.
Description
description
Terms and their values.
DestructiveActionModal
destructive-action-modal
For actions that cannot be undone. The red button stays off until the name is typed.
Dialog
dialog
A question over a dimmed page. It traps focus and returns it when closed.
DiffLine
diff-line
One line of a diff, with line numbers and screen-reader text.
DiffReview
diff-review
A decision per hunk before anything lands. J and K move, Y and N decide.
DonutChart
donut-chart
Parts of a whole, with each slice’s value and share in the legend.
DotsMenu
dots-menu
A "…" button with secondary actions for one row.
EmptyState
empty-state
An empty list as an invitation to act.
Entity
entity
An agent or a person as a row.
ErrorCard
error-card
A failure that needs a decision: what broke, the error, and what you can do.
ErrorMessage
error-message
What went wrong and what to do next.
Feedback
feedback
Thumbs up or down, then an optional comment.
Field
field
A label, a control, and the hint or error that describes it, wired for screen readers.
FileTree
file-tree
Files and folders with change markers. Arrow keys walk the tree.
FleetSky
fleet-sky
Many agents at once, as birds on lines back to you. The one that needs you flies in on a taut line.
Footer
footer
The end of a page: brand, groups of links, and a line for copyright.
Gauge
gauge
A ring that fills to a percentage. Red only past a limit you set.
IconButton
icon-button
A button with only an icon. Its label is required and shows as a tooltip.
Input
input
A text field.
JsonView
json-view
JSON as a tree you can fold.
Kbd
kbd
A keyboard key.
KeyboardHint
keyboard-hint
A shortcut and what it does.
KillSwitch
kill-switch
Hold for a second to stop the agent. Letting go early does nothing. Space or Enter held does the same.
LineChart
line-chart
A trend over time. Point at it, or focus it and press the arrow keys.
LoadMoreButton
load-more-button
A full-width button under a list that says when it is loading.
LoadingDots
loading-dots
Three dots beside what is happening.
Menu
menu
Actions behind a button. Put destructive ones last, after a separator.
Message
message
One turn. Yours sit right in a tile; the agent’s are plain text under its name.
MessageList
message-list
A scrolling column that follows new messages until you scroll up.
MiddleTruncate
middle-truncate
Shortens the middle of a path or ID and keeps both ends.
ModelPicker
model-picker
Chooses which model answers.
MultiSelect
multi-select
Pick several. Picks become chips; Backspace removes the last one.
Navbar
navbar
The bar across the top. When it gets narrow, the links move into a menu.
NeedsYouInbox
needs-you-inbox
Everything blocked on a person, across agents, most urgent first.
Pagination
pagination
Page numbers, or a compact previous and next.
PermissionLedger
permission-ledger
Everything you said "Always allow" to, how often it has been used, and a way to take it back.
PhoneFrame
phone-frame
A phone drawn around content, to show a component at phone size.
PlanEditor
plan-editor
Reorder, edit, remove and add steps before anything runs. Alt+Up and Alt+Down move a step.
ProgressBar
progress-bar
Progress toward a known total.
ProjectBanner
project-banner
A project-wide notice with one action.
PromptInput
prompt-input
Where you write to an agent. Enter sends; Send becomes Stop while it works.
QuestionCard
question-card
When the agent needs information rather than permission.
Radio
radio
A native radio with its label.
RadioGroup
radio-group
One choice from a short list.
Reasoning
reasoning
The agent’s thinking, folded away behind how long it took.
RelativeTimeCard
relative-time-card
"2 hours ago", with the exact local and UTC time on hover or focus.
RiskLabel
risk-label
How risky an action is, in words.
RunTimeline
run-timeline
The run's steps and tool calls. It follows the newest step until you scroll up.
Scroller
scroller
A horizontal strip that fades where there is more.
SearchInput
search-input
A search field with a shortcut hint, a spinner and a clear button.
Select
select
The native select, styled. The operating system draws the menu.
Separator
separator
A hairline between groups.
Sheet
sheet
A panel that slides in from an edge.
ShowMore
show-more
Long content cut to a few lines, with a button to show the rest.
Sidebar
sidebar
Links down the side, in groups. Collapses to icons that keep their names.
Skeleton
skeleton
A placeholder while content loads.
Slider
slider
One value, a range, or steps, read out in words.
Snippet
snippet
Shell commands with a copy button. The prompt sign is never copied.
Sources
sources
What an answer is based on, with numbered markers in the text.
Sparkline
sparkline
A trend with no axes, for a table cell or a stat card.
Spinner
spinner
Something is happening, with no known end.
SplitButton
split-button
The common action, with alternatives in a menu.
StatCard
stat-card
One number, what it is, and how it moved.
StatusBadge
status-badge
A status with a running clock.
StatusDot
status-dot
A small mark and a word. Each status has its own shape as well as tone.
Steps
steps
Where someone is in a fixed sequence. Each status has a shape and a spoken label.
Suggestions
suggestions
Starting points above the input. Choosing one sends it.
Switch
switch
An on/off setting that applies immediately.
Table
table
Sortable columns, row selection with Shift-click ranges, and bulk actions.
Tabs
tabs
A segmented control and its panels. Arrow keys move between tabs.
TextWithCopy
text-with-copy
Text with a copy button beside it.
Textarea
textarea
A multi-line text field.
ThemeSwitcher
theme-switcher
Light, dark or match the system. This one really switches this page, starting from its current theme.
Toast
toast
A short message that rises from the bottom. Call toast() from anywhere.
Toggle
toggle
A button that stays on or off.
ToggleGroup
toggle-group
A segmented control: pick one, or any.
ToolCallCard
tool-call-card
One tool call's whole life: input, result, errors and retries.
ToolCallHeader
tool-call-header
Names a tool call and shows its state and attempt.
Tooltip
tooltip
Extra text on hover and keyboard focus.
Video
video
A player with glass controls. It starts muted and never autoplays.
Select a component to view its code
Click on any item in the sidebar to get started
Select a component to view its information