164 components
Components
Every tile is the component itself. Open one for the live example, its states, the props and the code to use it.
Start by task
164 components
Agent operations
Every run on one board, a lane per agent, a waterfall of one run, the tree of who started whom, and the plan, context and queue around them. Each shows the state your server reports; a click requests, it never completes.
Agent operations patternBuild it by task
- RunBoardAll your runs on one board, grouped by what they need, with live clocks, the newest steps, filters and actions.
- AgentLanesNewWhere every agent is right now: a lane per agent on one time axis, with the hand-offs drawn between lanes.
- SubagentTreeParent and child runs as a tree with the message that spawned each child, and the cost of each branch.
- ExecutionTimelineA timed record of what happened during a run, as a list, a table or a waterfall with tokens and cost per step.
- WorkflowGraphSee a workflow’s branches, loops and joins as a graph, a list or an outline.
- AttentionQueueThe ordered list of approvals, questions, handoffs and failures waiting on a person.
- RunCompareTwo runs or checkpoints side by side: outcome, measurements, effects and timelines.
- ContextBarWhat the current request includes, with removable items.
- PlanA proposed plan with collapsible steps and a button to run it.
- AgentSteeringQueue a note for a running agent’s next step without stopping it, and see whether each note was applied.
- CostLedgerWhere the money went, run by run, with measured and estimated costs kept apart and never added together.
- ContextWindowMeterHow full the model’s context window is and what fills it, drawn to scale from the numbers your server supplies.
- MemoryPanelWhat the assistant remembers, with where each memory came from, how far it reaches and whether it was used just now.
UI components
Controls, navigation, layout and rich content for React interfaces.
Actions 6
- AppearanceToggleLets people choose light, dark or the system setting.
- ButtonA labeled action in a few sizes and levels of emphasis.
- ChipA compact label that links or can be removed, with a group that wraps or scrolls. For choices, use ToggleGroup.
- CopyButtonCopies a value and reports the real outcome.
- IconButtonAn icon-only button with a required label, shown as a hint on hover and focus.
- ToggleGroupChoose one or several options shown at once: filter pills with counts, or joined segments, as buttons or links.
Forms 13
- CalendarPick a date or a range, in any language, limited to the dates you allow.
- CheckboxA checkbox, including a mixed state for partly selected groups.
- ComboboxSearch a list and choose one value, or several with type="multiple", with clear loading and error messages.
- DateRangePickerA date range field with a pop-up calendar that works from the keyboard.
- FieldA shared label, description and validation message around a form control.
- InputA text input that works with Field and your own validation.
- InputGroupOne bordered control that holds an input and its action.
- RadioGroupA labeled set of options where only one can be picked.
- SelectA dropdown for picking one option, with full keyboard support.
- SliderPick a number or a range by dragging or with the arrow keys.
- SwitchAn on/off setting with a label.
- TextareaA native multiline field for descriptions and longer written content.
- TonePadNewTwo choices on one square: drag the handle between Formal and Casual, Brief and Detailed.
Overlays 5
- AlertDialogA confirmation dialog that stays open until your app confirms the action worked.
- ModalA dialog, side sheet or full-screen panel for a focused task.
- PopoverA small panel that opens from a button and can hold controls.
- ShortcutHelpNewA sheet listing the keyboard shortcuts your app handles.
- TooltipA short hint that appears on hover and keyboard focus.
Feedback 7
- AlertA message that stays on the page, with a tone, optional actions and a choice of how urgently screen readers hear it.
- EmptyStateExplains why there’s nothing here and what to do next.
- LoadingIndicatorShows that something is happening, without pretending to know how far along it is.
- ProgressProgress as a bar or a ring, for work you can measure or with an honestly unknown total.
- SkeletonPlaceholders that hold space while real content loads.
- StatusBadgeA status label with a matching icon and color.
- ToastA short-lived notification people can dismiss, with its action also available elsewhere.
Data Display 20
- AccordionSections people can open and close.
- AvatarAn image or initials for a person or team, decorative unless given a name.
- BarListNewRanked rows with a bar behind each name, for tokens by tool, spend by agent or calls by model.
- CardA box with a header (title, description and actions), a body and a footer, or a card that is one big link.
- DataGridA table with sorting, paging, row selection and column toggles.
- DiffStatLines added and removed for a change, with optional file count and blocks.
- DonutChartNewShares of one total as a ring, with the total in the centre and every share printed in the legend.
- DotBarsNewA histogram built from dots, one column per day or step, with a highlighted range and an accent outlier.
- DotRingNewA ring of dotted spokes, one per hour or step, denser where the value is higher, with a figure in the centre.
- ElapsedTimeTime spent on a run or turn, ticking while it runs and fixed once it ends.
- HeatKeysNewA grid of cells shaded in four steps by their value, laid out like a keyboard or any grid, with the label kept on every cell.
- KbdOne key cap, for shortcut hints beside actions and in menus.
- MatrixA heatmap table of counts with a single-hue fill, linked headers and linked cells.
- NumericA figure in the numeric face with its qualifier in words, so numbers line up across a screen.
- SparklineNewA word-sized trend for a stat card or a table cell, as a line, an area or bars, with gaps left open.
- StatA formatted number with its label, optional change and note, for rows of metrics.
- TableA plain table in a labeled area you can scroll with the keyboard.
- TagA neutral label for categories and levels, with tones and two sizes.
- TrackerNewA strip of blocks, one per day or run, coloured by how it went, for nightly evals, uptime or a run history.
- WeekStripNewSeven columns with the series stacked inside each and the current day in bold, for a week at a glance.
Rich Content 5
- MarkdownCodeBlockCode with a copy button, optional syntax colors and line numbers.
- MarkdownResponseFormatted replies as they stream: headings, lists, tables, code, links and footnotes.
- MathFormulaLaTeX formulas, rendered with KaTeX and readable by screen readers.
- MermaidDiagramMermaid diagrams with zoom and a source view, and a clear message when one can’t be drawn.
- RichMarkdownResponseMarkdown that also renders math and Mermaid diagrams.
Layout 3
- SidecarA drawer, sheet or inspector panel: docked beside content, floating over it, and a modal drawer or bottom sheet on small screens.
- SplitPaneTwo panes side by side that you can resize, also from the keyboard, stacking on small screens.
- WorkspaceShellA full app frame with header, navigation, content, inspector and footer areas that adapts to screen size.
AI components
Conversation, execution, generated output and review interfaces driven by your server.
Conversation 19
- AttachmentFiles attached to a message, with real upload progress and previews.
- AttachmentTrayNewThe files in a composer, one row each, with measured progress, retry and remove.
- BranchSwitcherMove between versions of a conversation created by edits and retries.
- ChatA complete chat: messages, streaming replies, tool cards, suggestions, stop, retry and the composer. Connect it to your server or drive it with props.
- ChatLauncherA floating chat bubble for a website that opens a chat panel, full screen on phones.
- CheckpointA divider marking a restorable point in a conversation.
- FeedbackCaptureThumbs up or down, reasons and a correction for one specific reply, saved once your server confirms.
- FileDropzoneA drop target for local files with a browse button and type, size and slot checks.
- FollowUpsShort next steps after a response, as chips with a lead word: "Then: Shorter · Add numbers".
- MessageOne user, assistant or system message with its parts and references.
- MessageActionsCopy, retry, edit and feedback buttons for a message, each showing whether it worked.
- MessageQueueReview, reorder and remove messages waiting to send.
- PromptInputThe composer for sending a prompt, with attachments, a toolbar and a way to stop.
- ReasoningA quiet, collapsible public reasoning summary that follows the stream.
- SlashCommandMenuFind and run your app’s slash commands from the keyboard.
- StreamingResponseShows an answer as it streams in, and says clearly if it was cut off or failed.
- SuggestionsFollow-up prompts the user can send with one click.
- SuggestTextareaA text area that shows an AI completion as ghost text; Tab accepts it.
- ThreadListSearch, open, rename and archive conversations.
Voice 5
- AudioPlayerA compact player for generated or recorded audio.
- PersonaAn animated presence for voice agents.
- TranscriptionA timed transcript that follows playback and can seek.
- VoiceControlPick a microphone, record, watch the input level and follow the transcription.
- VoiceSelectorChoose a speech voice and preview samples.
Tools & execution 22
- AgentLanesNewWhere every agent is right now: a lane per agent on one time axis, with the hand-offs drawn between lanes.
- AgentSteeringQueue a note for a running agent’s next step without stopping it, and see whether each note was applied.
- AgentStepsThe steps of a run in order, with where each one stands, its details and anything it depends on.
- AttentionQueueThe ordered list of approvals, questions, handoffs and failures waiting on a person.
- BackgroundStatusA small persistent indicator for runs still going while the person is elsewhere.
- ChainOfThoughtThe public steps a run took, each with its sources or files.
- ConnectionStatusWhether you’re connected, with the reconnect and catch-up actions your app supports.
- ContextWindowMeterHow full the model’s context window is and what fills it, drawn to scale from the numbers your server supplies.
- CostLedgerWhere the money went, run by run, with measured and estimated costs kept apart and never added together.
- ExecutionTimelineA timed record of what happened during a run, as a list, a table or a waterfall with tokens and cost per step.
- PlanA proposed plan with collapsible steps and a button to run it.
- RunBoardAll your runs on one board, grouped by what they need, with live clocks, the newest steps, filters and actions.
- RunCompareTwo runs or checkpoints side by side: outcome, measurements, effects and timelines.
- RunInspectorLook inside a run: each model, tool and agent step, with measured usage.
- RunSummaryCardWhat a run did, for reading afterwards: the goal, the outcome, what it changed and what was left undone.
- SubagentTreeParent and child runs as a tree with the message that spawned each child, and the cost of each branch.
- ToolCallA tool request with its input, result, failure and duration.
- ToolGroupSeveral tool calls grouped together, keeping each failure visible.
- ToolResultTool output, size-limited, with a safe fallback for content it can’t show.
- UsageMeterHow much context or money has been used, with what the number means. A percentage shows only when there’s a known limit.
- WorkflowGraphSee a workflow’s branches, loops and joins as a graph, a list or an outline.
- WorkSummaryThe steps of one agent turn, open while it works and collapsed to "Worked for 15s" after.
Review & permissions 7
- AccessModeSelectorAsk for a different access level while keeping current permissions in view.
- ApprovalBatchApprove several similar proposals at once, and still leave any of them out.
- ApprovalCardA review card for approving or rejecting a proposed action.
- DryRunPreviewThe agent's declared effects before anything runs, with a veto per line and one versioned decision.
- PermissionRequestA request for specific access, with its scope and version shown.
- ReviewChangesPick which proposed changes to keep and send one review decision.
- ScopeGrantPermissions that stay in place, with their scope, expiry, how often they were used, and a way to revoke them.
Context & memory 5
- ContextBarWhat the current request includes, with removable items.
- ContextInspectorLists what a request selected, included, excluded or truncated.
- MemoryControlsSee what the assistant remembers, and ask to correct or delete it.
- MemoryPanelWhat the assistant remembers, with where each memory came from, how far it reaches and whether it was used just now.
- MentionPickerType @ to add files, symbols, people or sources.
Sources & evidence 7
- CitationAn inline reference that links a passage to its source.
- ConfidenceNoteA confidence score with what it covers, how it was worked out and when, or nothing at all. Never a bare number.
- EvidenceGroupA claim with the sources that support it.
- GroundingStatusHow well an answer is backed by sources, with what that measure means and its limits.
- ProvenanceBadgeWhere content came from (a model, a tool, a person or an import), marked Signed only when your server verified it.
- SourceCardA source behind an answer, with its access state and excerpt.
- SourcesA "Used N sources" disclosure with safe links.
MCP connections & tools 3
Agents & governance 4
- AgentCardThe identity, capabilities and current activity of one agent.
- AgentHandoffHand work from one agent or person to another, with accept and decline.
- AuditTrailA searchable history of actions and their outcomes, with sensitive fields hidden.
- PolicyStatusPolicy check results, with who checked, when, what they covered and which version.
Model settings 2
Forms & generated UI 4
- AIFormForms with fields that appear as needed, validation and confirmed submission.
- ChartBar, line and area charts with a matching data table, and gaps where data is missing.
- ClarificationRequestA question the assistant asks before it continues.
- GeneratedUIScreens a model describes, such as forms, charts, tables, lists and steps, checked before they render.
Coding & artifacts 16
- ArtifactDiffCompare two versions of a document, with a fallback when one can’t be opened.
- ArtifactPanelA panel for generated documents and other artifacts.
- ArtifactPreviewRead-only previews of documents and bounded tables.
- CodeDiffCode changes, inline or side by side, with line numbers and clear size limits.
- CodeTabsA code viewer for the files of one example, with optional numbered tour stops.
- CommitA commit with its subject, author and changed files.
- EnvironmentVariablesEnvironment variables with masked secret values.
- FileExplorerBrowse files as folders, a detailed list or a directory tree.
- ImageA generated or attached image, with what to show while it loads or if it fails.
- PackageInfoA package change with versions and dependencies.
- SchemaDisplayAn API operation with parameters and nested bodies.
- SnippetA single command with a copy button.
- StackTraceA readable error with internal frames collapsed.
- TerminalOutputProcess output that follows new lines (unless you’re selecting text), with a stop button.
- TestResultsTest outcomes, timings, diagnostics and file navigation.
- WebPreviewA sandboxed preview of a web page, with an address bar.
See the components together in the SaaS admin example, or start with your first component.