sh4dcnv2 · atlas
← libraries

@nexus-ui

Open-source copy-paste component library purpose-built for AI interfaces, designed as shadcn/ui for AI apps. Provides 14 composable primitives: PromptInput, ModelSelector, Suggestions, Attachments, Message, Thread, Citation, Reasoning, TextShimmer, Image, FeedbackBar, Toaster, ChainOfThought, and Tool. Built for streaming, voice, multimodal, and agentic UIs; integrates with Vercel AI SDK and ElevenLabs. React 19 + Next.js App Router, TypeScript, Radix primitives, Tailwind CSS. Fully free and MIT-licensed. Use for: building chat interfaces, AI copilots, or agent dashboards that need streaming-aware, accessible chat primitives.

15 components react shadcn-cli MIT

Install this registry

shadcn (npm) npx shadcn@latest add https://nexus-ui.dev/r/registry.json
pnpm pnpm dlx shadcn@latest add https://nexus-ui.dev/r/registry.json
bun bunx shadcn@latest add https://nexus-ui.dev/r/registry.json
fetch registry curl -s https://nexus-ui.dev/r/registry.json

Components

15 total
Prompt Input ui

Composable chat input with auto-resizing textarea and action slots

npx shadcn@latest add https://nexus-ui.dev/r/prompt-input.json
Suggestions ui

Prompt suggestion chips for guiding user input

npx shadcn@latest add https://nexus-ui.dev/r/suggestions.json
Attachments ui

Composable file attachments for chat inputs and messages with preview, variants, and upload wiring

npx shadcn@latest add https://nexus-ui.dev/r/attachments.json
Model Selector ui

Dropdown for selecting AI models with radio groups, sub-menus, and custom items

npx shadcn@latest add https://nexus-ui.dev/r/model-selector.json
Message ui

Chat message layout with markdown, optional avatar, actions, and attachments

npx shadcn@latest add https://nexus-ui.dev/r/message.json
Thread ui

Scrollable chat thread with stick-to-bottom scrolling and jump-to-bottom control

npx shadcn@latest add https://nexus-ui.dev/r/thread.json
Citation ui

Inline source references with hover preview and multi-source carousel

npx shadcn@latest add https://nexus-ui.dev/r/citation.json
Image ui

Image renderer for URLs, base64, and byte payloads with preview, loader, lightbox, and action slots

npx shadcn@latest add https://nexus-ui.dev/r/image.json
Reasoning ui

Collapsible model reasoning trace with streaming-aware labels and markdown body

npx shadcn@latest add https://nexus-ui.dev/r/reasoning.json
Feedback Bar ui

Feedback prompt bar for per-message or thread ratings with action and close slots

npx shadcn@latest add https://nexus-ui.dev/r/feedback-bar.json
Text Shimmer ui

Animated shimmer text for loading, tool runs, and other in-progress UI

npx shadcn@latest add https://nexus-ui.dev/r/text-shimmer.json
Toaster ui

Headless toast notifications powered by Sonner, with variant-aware styling and custom action/cancel controls

npx shadcn@latest add https://nexus-ui.dev/r/toaster.json
Chain of Thought ui

Structured multi-step thought timeline with step status, optional expandable output, and auto-close when steps finish

npx shadcn@latest add https://nexus-ui.dev/r/chain-of-thought.json
Tool ui

Tool call component with state-aware header and JSON input/output blocks

npx shadcn@latest add https://nexus-ui.dev/r/tool.json
Questions ui

Follow-up clarification questions with single or multiple choice, carousel navigation, and batch submission

npx shadcn@latest add https://nexus-ui.dev/r/questions.json