@turn
Minimal, accessible components for AI apps: chat, agents and tool use. Streaming-first, built on Base UI and Tailwind.
25 components react shadcn-cli MIT
Install this registry
shadcn (npm)
npx shadcn@latest add https://turnui.xyz/r/registry.json pnpm
pnpm dlx shadcn@latest add https://turnui.xyz/r/registry.json bun
bunx shadcn@latest add https://turnui.xyz/r/registry.json fetch registry
curl -s https://turnui.xyz/r/registry.json Components
25 total turn theme theme
Color tokens the turn components read. Optional: skip it if your own theme already defines them.
npx shadcn@latest add https://turnui.xyz/r/theme.json turn-button ui
npx shadcn@latest add https://turnui.xyz/r/turn-button.json message ui
npx shadcn@latest add https://turnui.xyz/r/message.json code-block ui
npx shadcn@latest add https://turnui.xyz/r/code-block.json streaming-markdown ui
npx shadcn@latest add https://turnui.xyz/r/streaming-markdown.json prompt-composer ui
npx shadcn@latest add https://turnui.xyz/r/prompt-composer.json use-auto-scroll hook
npx shadcn@latest add https://turnui.xyz/r/use-auto-scroll.json reasoning ui
npx shadcn@latest add https://turnui.xyz/r/reasoning.json tool-call ui
npx shadcn@latest add https://turnui.xyz/r/tool-call.json citations ui
npx shadcn@latest add https://turnui.xyz/r/citations.json use-fake-stream hook
npx shadcn@latest add https://turnui.xyz/r/use-fake-stream.json plan ui
npx shadcn@latest add https://turnui.xyz/r/plan.json trace ui
npx shadcn@latest add https://turnui.xyz/r/trace.json approval-prompt ui
npx shadcn@latest add https://turnui.xyz/r/approval-prompt.json artifact ui
npx shadcn@latest add https://turnui.xyz/r/artifact.json use-attachments hook
npx shadcn@latest add https://turnui.xyz/r/use-attachments.json attachment ui
npx shadcn@latest add https://turnui.xyz/r/attachment.json model-picker ui
npx shadcn@latest add https://turnui.xyz/r/model-picker.json command-menu ui
npx shadcn@latest add https://turnui.xyz/r/command-menu.json feedback ui
npx shadcn@latest add https://turnui.xyz/r/feedback.json scroll-to-bottom ui
npx shadcn@latest add https://turnui.xyz/r/scroll-to-bottom.json suggestions ui
npx shadcn@latest add https://turnui.xyz/r/suggestions.json thinking ui
npx shadcn@latest add https://turnui.xyz/r/thinking.json error-notice ui
npx shadcn@latest add https://turnui.xyz/r/error-notice.json copy-button ui
npx shadcn@latest add https://turnui.xyz/r/copy-button.json