Build better AI interfaces
Composable React components for chat and agent UIs. Copy them into your project with the shadcn CLI, own the code, ship faster.
npx shadcn@latest add https://ui.spencerwueste.com/r/prompt-input.jsonHow can I help today?
Pick a suggestion or type your own question.
Responses are scripted for this demo. Plug in a transport to go live.
Live block. Responses are scripted; try “Astro islands”, “streaming”, or “tests”.
Components
17 primitives for the AI layer of your app.
- Read the failing test1.2s
Located the Enter handler assertion.
- Patch the handler
Guarding submit on empty input.
- Re-run the suite
You own the code
Nothing ships as a package. The CLI copies TSX files into your repo and you edit them like any other component.
Built for streaming
Markdown, reasoning, and tool cards all accept partial content and re-render smoothly as tokens arrive.
Agent-readable docs
Every page has a markdown mirror and the site publishes llms.txt, so your coding assistant can read it too.