Captain UI
Open menu
Components
38 components, 20 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: a flatline at rest, thoughts in orbit, a live waveform while it works, a question when it needs you, a check, a cross. Its three strokes travel between them, so a change of state is one motion, never an icon swap.
Approval
An agent asks before it acts, and the hold fills the command itself: ink runs through it letter by letter while you hold, so you read what you approve as you approve it. Let go and it drains back.
Artifact
What the agent made, as a card in the chat. Open it and the same object grows into the pane, leaving its imprint in the chat; drag the version scrubber and the document changes under your thumb.
Captain sidebar
A sidebar for one Captain that runs swarms. The questions that need you sit on top as a deck; answer one in place and your answer flies into its mission.
Composer
The input box for agent apps. One Captain switch turns one agent into a swarm: the agents deal out of the switch into a tray, with the count and the model they run on. Mentions, skills, files and a model picker, and Send becomes Stop while it works.
Diff review
Review an agent's diff one hunk at a time. Drag along a changed line and the old code rewrites into the new, letter by letter under your finger; let go and it rewinds. Fling the hunk right to accept or left to reject, or press A and R.
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 on one shared clock, so a page full of them never drifts. Drag the clock and every one scrubs with it.
Model picker
Every model streams the same answer at once, at its own real speed. The bars are time, so the race reads at a glance, and the answer streams in full beneath them for the model you point at, with what one task costs.
Run timeline
An agent run you can scrub. Drag the playhead and its tool calls re-render live: rows appear, stream and land going forward, fold away going back, with the step and the spend in step.
Streaming text
A visible backlog. Words that arrive faster than reading pace wait as a faint run of dots after the caret, one per word, and each dot turns into its word as it lands, so you can see the model running ahead of the page.
Thinking
The agent's reasoning condenses into its label. While it thinks the lines stream under a rippling “Thinking”; when it ends they fold up, bottom line first, into “Thought for 12s”, and pour back out on click.
Tool call
The JSON unfolds as it streams. Keys arrive as a tree, an object opens as its brace arrives and closes when it ends, and strings type in place, so you watch the structure form instead of a wall of text.
Transcript
A chat thread where the agent's work is drawn: plans you edit, live swarms, diffs, previews and tests. Drag a step's crew and the swarm it will start reshapes.
Buttons & inputs
Button
Four materials made in the button maker: Paper, Squircle, Glass and Dither, each with press, loading and success.
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, an early release snaps back in 200ms, and it reports its progress so other parts can draw with your hold.
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
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 promise toast turns from loading into done in place: the spinner's arc bends into the check, and its clock stops on the time it took. Swipe any toast back the way it came.
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. Drag a step to the right to go back.
Tabs
An ink block slides under the labels and swaps their colour exactly at its edge, stretching the way it travels. Grab the block and drag it, and the labels turn under your finger.
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
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. A year of real weekly installs from npm, with stars, the latest release and the last push from GitHub, each figure 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
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.