Components
35 components, each with a manifest your agent can read. Generated from the source — new components appear here automatically.
Primitives
Foundational controls every other component is built from.
Button
primitivesThe Kura button: six variants, four sizes, loading state, asChild, tactile press and a signal focus ring.
Icon Button
primitivesSquare icon-only button with a mandatory accessible label and an automatic tooltip (with optional shortcut).
Kbd
primitivesKeyboard key or key combo, platform-aware (⌘ on Apple, Ctrl elsewhere) and hydration-safe.
Popover
primitivesFloating translucent panel anchored to a trigger, with focus management and origin-aware motion.
Spinner
primitivesEight-segment radial spinner for indeterminate loading that inherits the current text color.
Tooltip
primitivesShort label on hover or focus with an optional shortcut, origin-aware motion and instant skip between tooltips.
Input
Prompt composers, commands, pickers and shortcut surfaces.
Attachment
inputFile and image attachment chips with thumbnails, upload progress rings, error/retry, remove, a “+N” overflow stack and a dropzone.
Command Palette
input⌘K command palette for agent actions: fuzzy search, groups, recents, nested pages with async loading, and shortcut hints.
Composer
inputPrompt input for chat and agents: auto-growing textarea, attachments, toolbar slot, send→stop button, paste/drop files and a length hint.
Kbd Shortcut
inputLabelled keyboard-shortcut hint (“Send ⌘↵”) that can also bind the shortcut and light its keys while pressed.
Model Picker
inputSearchable popover for choosing an AI model, grouped by provider, with capability icons, context size, speed and cost hints.
Prompt Suggestions
inputStarter prompts for empty chat states — chips, cards or a list that rise in with a short stagger and fill the composer when clicked.
Slash Command Menu
inputInline “/” command menu anchored to the caret of a textarea, with filtering, groups, icons, descriptions and keyboard navigation.
Voice
Dictation, recording, audio visualisation and voice agents.
Agent Orb
voiceGlassy liquid sphere for voice agents, drawn in a shader: breathes when idle, reacts to mic and voice levels, swirls while thinking.
Audio Waveform
voiceCanvas audio visualiser — live bars, mirrored history or oscilloscope line from a mic or media element, or recorded peaks with a seek scrubber.
Voice Dictation
voiceMic button that expands into a live waveform pill with a timer and live transcript; speech-to-text with recording fallback, toggle or hold-to-talk.
Conversation
Messages, streaming output, code, citations and artifacts.
Artifact Card
conversationCard for something an agent made — document, code, web page, image, sheet or diagram — with generating/updating progress, versions and open-in-panel.
React exposes a dedicated hook for optimistic updates1.
Citation
conversationInline numbered citation pill that links to its source and previews favicon, title, domain and snippet on hover/focus, plus a Sources strip or list.
Code Block
conversationSyntax-highlighted code with a filename header, copy, line numbers, highlighted lines, diffs, wrap, collapsible height and streaming-safe rendering.
Message
conversationChat message (user/assistant) with avatar, hover actions, ‹ 2/3 › branches, error/streaming states and an autoscrolling MessageList thread.
Streaming Text
conversationToken-by-token model output with an even reveal cadence, word-group fade/blur-in and a soft caret. Takes a growing string or an async iterable.
Agent
Tool calls, reasoning, timelines, approvals and budgets.
- Read the failing test (done)1.2s
- Patch the date parser (in progress)
- Re-run the test suite (queued)
Agent Timeline
agentVertical plan tracker for multi-step agents: queued/active/done/failed/skipped steps, nested sub-steps, live durations and a connector that fills.
Kura wants to run a command
Low riskpnpm installApproval Prompt
agentHuman-in-the-loop permission card (“Kura wants to run `rm -rf build`”) with risk level, details, Approve/Deny/Always allow, ⌘↵ and Esc, and resolved states.
Context Meter
agentToken / context-window usage as a compact ring or bar with warning and danger thresholds, rolling numbers and a segmented breakdown card.
Reasoning
agentCollapsible thinking trace: a shimmering “Thinking… 12s” label while active that settles into “Thought for 14s”, revealing muted reasoning text.
Tool Call
agentOne tool invocation: name and icon, queued/running/done/failed/awaiting-approval status, live elapsed time and collapsible JSON args and result.
Feedback
Thinking, loading and status indicators.
Shimmer Text
feedbackAnimated gradient sweep across text — the canonical “Thinking…” / “Searching…” label for in-progress AI work.
Thinking Indicator
feedbackCompact AI “thinking” indicators — dots, pulse, orbit, wave, or cycling status text — inside a polite live region.
Effects
Shaders, gradients and ambient visuals.
Aurora
effectsSoft northern-lights background: folding light curtains drawn in a shader with premultiplied alpha, so it glows on dark and washes on light.
Indexing workspace
The beam marks a container the agent is working in.
Border Beam
effectsAnimated light beam that travels around its parent's border — a quiet “an agent is working in here” signal for composers, cards and panels.
Decode Text
effectsText reveal that scrambles glyphs and resolves them left to right, like an AI decoding — width-stable, with the final text read to screen readers at once.
Grain
effectsFilm-grain overlay from a cached SVG-noise tile, with blend modes and an optional compositor-only flicker — texture for gradients and heroes.
Mesh Gradient
effectsAnimated WebGL mesh gradient that blends up to six colours in OKLab, with distortion, swirl, grain and a pointer lens — for heroes and empty states.
Particle Field
effectsDrifting particle constellation that parts around the pointer and can converge into a ring or point to signal “generating”.
Shader Canvas
effectsMinimal WebGL2 fragment-shader runner with time/resolution/pointer uniforms, DPR capping, offscreen pausing, reduced-motion still frame and CSS fallback.