- Prompt InputComposable chat input with an auto-resizing textarea and action slots.
- MessageChat message with streaming markdown, avatar, and an action bar.
- ThreadScroll container that stays pinned to the newest message while content streams in.
- SuggestionsPrompt suggestion chips and a dismissible suggestions panel.
- Model SelectorDropdown for choosing an AI model with search, groups, sub-menus, and locked items.
- ReasoningCollapsible thinking block that opens while streaming and reports elapsed time when done.
- ToolTool call card with a status badge and collapsible input and output payloads.
- Text ShimmerAnimated shimmer for loading and thinking states, with no dependencies.
- Feedback BarInline prompt asking whether a response was helpful, with action and close slots.
- StepsnewVertical timeline for agent plans and multi-step runs, with status indicators and collapsible details.
- Diff ViewnewUnified diff with line numbers, per-hunk actions, and accepted or rejected states for agent-proposed patches.
- CitationnewInline numbered citation chips with hover previews, plus source cards for answer-with-sources layouts.
- WaveformnewAudio-style bar visualizer for voice input and text-to-speech playback, animated in CSS.
- Usage MeternewLabelled progress meter for context windows, rate limits, and budgets, with warning and danger thresholds.
- Command MenunewCmd-K menu with search, groups, keyboard navigation, and an always-visible "Ask AI" escape hatch.
- Mini ChartnewDependency-free sparkline, bar chart, and stat tile for usage dashboards and inline metrics.
- File DropnewDrag-and-drop upload zone with an attachment list that shows progress, size, and errors.
Components
Explore every component in the library. Each one installs with a single command and ships with a live preview, usage, and API reference.