Docs
Every Crate component, hook, and stream adapter, generated from the source on every build. Each page has its props, states, labels, and an example; components also have a live playground.
npx shadcn@latest add https://crate.onerollstudios.com/r/all.jsonFor coding agents, the same docs are at /llms.txt.
Start Here
Components
- ThinkingPulsing dots with time-based thinking and cancel states.
- StreamingStreaming text with a soft cursor.
- ToolCallAnimated single or multi-step tool activity.
- StalledA calm state for streams with no new content.
- ErrorStateAn error message with an accessible retry action.
- DoneA quiet completion check that fades away.
- ReasoningTraceA collapsible streaming reasoning trace.
- SourcesProgressively revealed citation chips.
- AgentPlanA self-updating plan with progress and failures.
- ApprovalA human approval prompt with optional expiry.
- QueueQueue position and rate-limit countdown states.
- FileProcessingFile upload and processing stage progress.
Stream Adapters
- AgentStreamStreams any AI backend into useAgentStatus: one small event format, server-sent events in and out (including a raw SSE adapter), and the useAgentStream hook.
- OpenAI Agents SDK AdapterConverts a streamed OpenAI Agents SDK run into agent stream events for useAgentStatus.
- LangChain AdapterConverts LangChain and LangGraph streamEvents into agent stream events for useAgentStatus.