Captain UI
Open menu
Components
48 components, 27 of them free. Everything below is live: drag it, press it, type in it.
Agent
Agent status
One glyph for what an agent is doing. Its strokes travel between idle, thinking, working, waiting, done and failed, so a change of state reads as one motion, never an icon swap.
Approval
An agent asks before it acts. Enter approves, Esc denies, the scope slides between once and always, and anything dangerous needs a hold.
Artifact
What the agent made, as a card in the chat. Open it and the same object grows to fill the chat pane; drag the version scrubber and the document changes under your thumb.
Captain sidebar
A sidebar for talking to one Captain: missions, a queue of questions, history and spend, for an agent that runs swarms.
Composer
The input box for agent apps: mentions, skills, a model picker and one Captain switch. Send becomes Stop while it works.
Diff review
Review an agent's diff one hunk at a time. Swipe right to accept, left to reject, or press A and R; the hunk follows your finger, tilts as you throw it, and the tally keeps count.
Hero live
A landing hero whose product panel is a real agent run on a tape. It is already moving on the first frame; visitors can pause it, drag the timeline to rewind the work, or type to steer it.
Loaders
Thirty-five loading states for agents, on one shared clock: thinking, beads, bloom, anagram, ascii and more.
Model picker
Point at a model and the same answer streams at that model's own speed, with what one task costs on it. You feel fast and slow instead of reading a spec table.
Run timeline
An agent run you can scrub. Drag the playhead and the step, the files touched and the money spent replay at that moment; let go mid-flick and the run rolls on and settles.
Streaming text
Feed it a bursty token stream and it reveals the reply at a steady reading pace, a whole word at a time, with bold, inline code, lists and a caret while it writes.
Thinking
The agent's reasoning: a line that ripples while it thinks, “Thought for 12s” when it's done, and the full reasoning one click away.
Tool call
One row per agent tool call. While it runs the label shimmers and a clock counts; then it lands on a check or an error. Open it to read the arguments as they stream and the result.
Transcript
A chat thread where the agent's work is drawn: plans you edit, live swarms, diffs, previews and tests.
Buttons & inputs
Button
Four materials made in the button maker: Paper, Squircle, Glass and Dither, each with press, loading and success.
Code input
A one-time code in six wells. Paste fills every cell at once, the caret glides to the next one as you type, a wrong code shakes and clears.
Copy button
Press it and the copy mark lifts away while a check draws itself in, then it settles back. Screen readers hear Copied.
Date picker
Swipe the months like pages, with your finger or two fingers on a trackpad. Drag across days to pick a range, or tap both ends; presets sit beside it.
File drop
Drag files over the well and its floor sinks away. Let go and they fly into the list, each row filling as it uploads. Remove one and you have five seconds to undo.
Hold to confirm
Press and hold to confirm something you cannot undo. The fill runs at the speed of time; let go early and it snaps back.
Segmented control
A raised thumb in a well. Tap a segment and it springs over, or grab the thumb and slide it: it squishes as you press and a flick decides where it lands.
Slider
Grab anywhere on the track and it follows your finger 1:1. Pull past an end and the track squashes like rubber; let go and it springs to the nearest step.
Soft trash
A trash pill with a real membrane. Drag a file in and it swallows it whole; undo spits it back out.
Switch
Tap it, or grab the thumb and drag. It follows your finger, stretches as you press, and a flick decides.
Overlays
Dialog
Grows out of the button that opened it and shrinks back into it. Focus is trapped inside and handed back when it closes.
Dropdown menu
Scales out of its trigger, one highlight slides between items, and a submenu stays open while your pointer cuts the corner toward it.
Sheet
A bottom sheet that peeks, rests at half or fills the screen. It follows your finger 1:1, a flick carries it one detent, and the page behind recedes as it rises.
Toast
A deck that fans out when you hover it. Swipe a toast back the way it came, undo from it, or watch a promise turn from loading into done.
Tooltip
Waits half a second the first time, then every tooltip in the group answers instantly. Flips to whichever side has room.
Navigation
Command palette
⌘K opens it. Fuzzy search lights the letters you matched, Enter on an item with a page slides in the next step, and the panel's height follows what is left.
Tabs
An ink block slides under the labels and swaps their colour exactly at its edge, stretching the way it travels. The panel slides in from the same side.
Text & numbers
Number flow
A number that rolls each digit in its own column, in the direction the value moved, while Intl handles currency, percent and compact formats and the width eases to fit.
Scrub number
A number field you scrub by dragging its label: Shift for ten times faster, Alt for a tenth. Click the number to type, and the digits roll as it changes.
Surfaces
Accordion
Opening an item lifts it off the page and springs its height open. Click again mid-flight and it reverses from where it is, without a jump.
Avatar stack
Overlapping marks for the agents and people on a piece of work. Hover or tab in and they fan out with their names; +N lists the rest.
Card stack
A deck you work through by flinging the top card left or right. It leans with your drag, the next card rises under it, a quick flick is enough, and undo brings the last one back.
Changelog
Releases on a scrubber. Drag through the versions and one live sample of your product morphs into how it looked at each one, with that release's notes beside it.
Feature reveal
A scroll section where a product screen is built the way a designer builds it: grey boxes for the layout, then type, then colour, then live figures that roll in. Scroll back and it comes apart.
Image compare
Two versions of one picture split by a divider that follows your finger exactly. Tap anywhere to jump the divider there, or nudge it with the arrow keys.
Logo wall
The tools you work with, in one tray instead of a marquee. They swell toward the pointer like a dock, and the one you point at rises and says, in one line, how it fits.
Palette preview
A palette shown as a real app and a poster, with proportions, checked contrast, light and dark.
Pricing
Drag your usage and every plan's price rolls to what you would really pay. The raised plan slides to whichever is cheapest for you, and says by how much.
Receipts
Social proof with nothing made up. Stars, the latest release, npm installs and a line from the release notes load live from public APIs, each linking to its source, and it says plainly when it is offline.
Shader backdrop
A real photo plus one effect, in WebGL2, for backgrounds that don't look like every AI gradient.
Tilt card
A card that leans toward your pointer, with a sheen that follows it and layers that part in depth. Drag a finger across it on touch; let go and it springs back.
Data
Bar chart
Bars spring up one after another. Hover, focus or tap a bar to lift it out with its value while the rest step back; grouped mode sets each bar beside last period's.
Line chart
An area chart you scrub with a pointer or a finger. The crosshair snaps from day to day, the figure above rolls to each value, and the rest of the line dims behind you.
Reorder list
Grab a handle and the row lifts out of its tray while the others part to make room. Near an edge the list scrolls for you, and the keyboard can do it all with spoken positions.