Components
The UI layer for agent products
Copy-paste React components for agent chats, tool calls, approvals, plans, traces and usage. Every one is MIT licensed and installs with the shadcn CLI.
Foundations
Surface
2 variantsShell, Panel, Inset, IconTile and ShellHeader — the borderless layers every component is framed with.
Foundations
Action Button
2 variantsSilver primary, secondary, quiet and danger buttons in two sizes, with icons, loading and icon-only buttons.
Foundations
Choice Controls
2 variantsSwitch, borderless Checkbox with a mixed state, and a RadioGroup with arrow-key navigation.
Foundations
Status Pill
2 variantsTinted status pills in five tones with icon or dot, plus a mono Tag for models, branches and transports.
Foundations
Segmented Control
2 variantsRadio-style segmented switch with a sliding active pill that jumps instantly from the keyboard.
Foundations
Progress Bar
2 variantsProgress and meter bars in five tones with optional stripes, plus a stacked SegmentedBar.
Foundations
Rolling Number
2 variantsOdometer-style number: each digit rolls to its new value, units and separators stay put.
Foundations
Text Field
2 variantsBorderless TextField, SearchField with clear and TextArea, with label, description and error wiring.
Foundations
Tooltip
2 variantsHint anchored to its trigger: scales in from the trigger side, opens instantly once one is warm.
Foundations
Action Menu
2 variantsDropdown and right-click menus — items with icons and shortcuts, submenus, checkable items and a destructive group.
Foundations
Popover Panel
2 variantsA panel anchored to its trigger — grows from it, closes on outside click or Esc, keeps focus inside.
Foundations
Modal Sheet
2 variantsCentered dialog and edge sheet (drawer) — focus trap, scroll lock, Esc and backdrop to close.
Foundations
Toast Stack
2 variantsNotifications that stack, expand on hover, pause while hovered, swipe or click to dismiss, with actions.
Foundations
Select Field
2 variantsSelect and searchable combobox — options with icons and hints, groups, keyboard typeahead.
Foundations
Tab Panels
2 variantsTabs with panels — sliding indicator, keyboard navigation, lazy panels and counts.
Foundations
Disclosure
2 variantsAccordion and single collapsible sections with smooth height animation.
Foundations
Agent Avatar
2 variantsAvatars for agents and people — initials or image, presence and activity state, stacked groups.
Foundations
Loading Skeleton
2 variantsPlaceholders for answers, lists and cards while they load.
Foundations
Range Slider
2 variantsSingle and range sliders with steps, marks and value labels — for temperature, length, budgets.
Foundations
Key Hint
2 variantsKeyboard shortcut hints that adapt to the platform — Cmd on Mac, Ctrl elsewhere.
Foundations
Loader
2 variantsSpinner and thinking indicators in a few sizes, with an accessible label.
Foundations
Empty State
2 variantsEmpty, no-results and error states with an icon, message and actions.
Foundations
Date Field
2 variantsCalendar and date picker — month grid, ranges, keyboard navigation and min / max.
Foundations
Drop Zone
2 variantsDrag-and-drop file target for a chat — accepts types and size limits, shows why a file was rejected.
Foundations
Screens
AI Chat
ScreenA complete chat app screen — history sidebar, a thread with tool calls, cited answers and feedback, follow-up chips and a composer with a context meter.
Screens
Coding Agent
ScreenAn agent working in a repo — chat with plan and permission requests on one side, file changes, terminal and a live preview on the other.
Screens
Data Answer
ScreenAn analytics question answered with KPI cards, a chart and a table, plus follow-up questions to dig further.
Screens
Booking Assistant
ScreenAn assistant that acts — compares options, picks a time, fills a form and confirms before it books.
Screens
Agent Console
ScreenA team view of agents in production — background runs, a trace, eval results, usage and rate limits.
Screens
Support Widget
ScreenA support bot embedded on a website — launcher bubble, quick replies, order lookup, handoff to a human and a rating at the end.
Screens
Handoff Inbox
ScreenWhere people take over from the bot — escalated conversations by urgency, what the bot already did, reply and hand back.
Screens
Conversation
Model Picker
2 variantsModel choice from a composer pill as a real comparison — search, providers, speed, price and context bars, capability badges, a pick for the task, and what this chat would cost.
Conversation
Voice Session
1 variantVoice mode of a chat — dot-column level bars that change with who's talking, a word-by-word transcript, barge-in marks, and mute, hold, voice and end controls.
Conversation
Streaming Message
3 variantsAssistant message with token streaming, collapsible reasoning, citation chips and copy / retry actions.
Conversation
Agent Status
2 variantsLive activity line for a working agent — current step, rotating detail, elapsed time and a stop action.
Conversation
Message Branches
2 variantsSwitch between regenerated answers and edited prompts — arrows, a mini branch map, and direction-aware swaps.
Conversation
Response Feedback
2 variantsThumbs up or down under an answer; a down vote opens reason chips and a note, then settles into a thank-you.
Conversation
Agent Composer
2 variantsPrompt input with Ask / Plan / Act modes, a context tray with token counts and messages that queue while the agent works.
Conversation
Agent Question
2 variantsAgent asks with choice cards, marks its own suggestion and reason, and accepts a pick, several picks or free text.
Conversation
Chat Thread
3 variantsThe conversation itself — user and assistant turns, grouping, date dividers, unread marker and a jump-to-latest pill.
Conversation
User Message
2 variantsA sent prompt with attachments, edit-in-place and resend, copy, and a delivery state.
Conversation
Conversation List
3 variantsChat history for a sidebar — search, pinned and dated groups, rename inline, archive and delete with undo.
Conversation
Prompt Suggestions
3 variantsStarter prompts for an empty chat and follow-up chips under an answer.
Conversation
Attachment Preview
2 variantsImages and files attached to a prompt — thumbnails, type and size, upload progress, retry and remove.
Conversation
Code Block
2 variantsCode in an answer — filename, language, line numbers, wrap toggle, copy and collapse for long snippets.
Conversation
Source List
3 variantsCitations behind an answer — numbered footnotes with hover previews and a panel of every source used.
Conversation
Tools & Approvals
Tool Approval Queue
3 variantsTriage pending tool calls by risk: select several, grant once, for the session or always, and undo from the resolved log.
Tools & Approvals
Tool Call Block
2 variantsInline chat card for a tool call: name, collapsible JSON args, status, duration and a result preview.
Tools & Approvals
File Changes
3 variantsSplit review: a file tree on one side, hunks on the other — keep or revert each hunk, then apply the result.
Tools & Approvals
Terminal Output
2 variantsStreaming command output with stdout / stderr lines, exit status, duration, copy and stop.
Tools & Approvals
MCP Servers
3 variantsConnected MCP servers with status, auth prompts and reconnect — expand one to switch individual tools on or off.
Tools & Approvals
Interactive Answers
Tone Rewrite
1 variantAn AI rewrite of a selection — prompt, model and length, a Formal–Casual × Brief–Detailed tone pad, a streamed result and Replace or Insert.
Interactive Answers
Inbox Cleanup
2 variantsAn agent's answer on which newsletters to drop — senders on a volume × opens scatter, an unsubscribe zone you can resize and a checklist to act on.
Interactive Answers
Clause Playbook
2 variantsAn agent's negotiation playbook for one clause — market spread as dot columns, walk-away, fallback and preferred zones on a two-handle track, and the settings it acts on.
Interactive Answers
Renewal Rings
2 variantsContract renewals on a 12-month clock — one ring per contract from today to its end date, with the notice window hatched and the next deadline picked out.
Interactive Answers
Chart Card
5 variantsA chart the agent answers with — bar, line, area or donut, with tooltips, legend toggles and animated data.
Interactive Answers
Dot Histogram
3 variantsA distribution as stacked dots — every sample visible, median and p95 marked, samples past a limit such as a timeout flagged.
Interactive Answers
Tick Gauge
3 variantsA meter drawn as ticks around an arc, with a target marker and the shortfall to it in red — success rates, SLOs, budgets.
Interactive Answers
Mirror Strips
3 variantsRows of dot strips with two series mirrored around a line — compare rounds or weeks on one axis, with pinned columns and notes.
Interactive Answers
Radial Dots
3 variantsA cycle as rings of dots — hours of the day or days of the week, stacked by series, with the headline in the middle.
Interactive Answers
Match Field
3 variantsA fit field — candidates, bots or options placed by score around a centre, grouped into sectors, with threshold rings.
Interactive Answers
Radar Chart
3 variantsScores across several axes as a polygon, with a dashed bar to meet and each member's values as dots on the spokes.
Interactive Answers
Diverging Bars
3 variantsStacked daily columns with one series hanging below zero on its own scale — triaged vs escalated, solved vs handed off.
Interactive Answers
Blast Radius
3 variantsWhat a key, agent or tool can reach, hop by hop around a centre, with the affected paths in red.
Interactive Answers
Iso Bars
3 variantsIsometric stacked bars in two rows — the main volume behind, rework or failures in front.
Interactive Answers
Hex Density
3 variantsA density map of two measures in hexagons, split by a threshold line — retrieved vs dropped, fast vs slow.
Interactive Answers
Data Table
3 variantsTabular results — sortable columns, filter, pagination, row selection and copy as CSV.
Interactive Answers
Stat Grid
3 variantsKPI cards with rolling numbers, deltas and sparklines for a quick summary answer.
Interactive Answers
Form Card
2 variantsA form the agent asks the user to fill — fields, selects, validation and a submitted state.
Interactive Answers
Result Carousel
3 variantsA row of result cards — image, title, meta and an action — with snap scrolling and arrows.
Interactive Answers
Slot Picker
3 variantsPick a time the agent proposed — days, free slots, time zone and a confirm step.
Interactive Answers
Confirmation Card
3 variantsA summary of what the agent is about to do — line items, totals and confirm or edit before it acts.
Interactive Answers
JSON Viewer
3 variantsStructured output as a collapsible tree — types, counts, search, copy path and copy value.
Interactive Answers
Artifact Panel
3 variantsA side canvas for what the agent made — live preview and source tabs, version history and download.
Interactive Answers
Planning & Execution
Background Agents Panel
3 variantsAgents working in the background as a grid of live tiles or a compact dock that expands into the selected agent.
Planning & Execution
Checkpoint Timeline
3 variantsCheckpoints the agent made along the way — scrub through turns, see what changed, restore to any point.
Planning & Execution
Observability
Run Trace
3 variantsFlame graph of an agent run with click-to-zoom spans, plus a breakdown of where time, tokens and cost went.
Observability
Eval Results
3 variantsAn eval run as a grid of cases — pass, fail or regressed vs the baseline — with per-case input, expected and actual.
Observability
Lap Timer
2 variantsA pipeline run as a stopwatch — the hand sweeps through each stage's sector, with splits and the delta against the best lap.
Observability
Eval Race
3 variantsModels racing through an eval set on an oval track — one lap per batch of cases, with standings, gaps and the fastest lap.
Observability
Tool Call Graph
2 variantsAn agent fanned out to the tools it calls — calls, latency and error rate per edge, with the hottest path picked out.
Observability
Deploy Timeline
2 variantsPrompt and model versions on a timeline over the eval score they shipped with — regressions, rollbacks and the live canary.
Observability
Delivery Heatmap
2 variantsWebhook attempts by endpoint and hour — volume as bar height, failing hours picked out, with a dot-column total on top.
Observability
Message Log
2 variantsWebhook events over the last hour as a dot timeline you can brush, a filterable log below, and each attempt with its response body.
Observability
Settings & Usage
Context Window Meter
4 variantsToken usage by segment — system, history, files, tools — with a near-limit warning and a compact action.
Settings & Usage
Memory Panel
3 variantsWhat the agent remembers about the user and project — search, scopes, inline edit and forget.
Settings & Usage
Usage Summary
3 variantsTokens and cost over time, split by model, against a monthly budget.
Settings & Usage
Rate Limits
3 variantsRequests and tokens per minute as refilling buckets, with a retry-after countdown and queued calls when throttled.
Settings & Usage