LLM index: /llms.txt
Nexus UI is an open-source component library for building AI-powered interfaces. It gives you composable, copy-paste primitives designed for chat, streaming, and multimodal experiences — built on React, Tailwind CSS v4, and Radix UI.
Think of it as shadcn/ui, purpose-built for AI apps.
Why Nexus UI?
AI-native
Built for streaming, tool calls, and multimodal from day one.
Design-first
Every component looks polished out of the box with refined animations and micro-interactions.
Composable
Small, single-purpose primitives that compose into full experiences.
AI SDK compatible
Works with useChat and the Vercel AI SDK.
Copy-paste ownership
You own the code, not a dependency.
Themeable
Compatible with shadcn/ui design tokens and themes.
How it works
Nexus UI is built on the shadcn registry. Components are not installed as a package — you copy them into your project and own them entirely.
This copies the component source into your components/nexus-ui directory. You can then customize it however you want.
Components
| Component | Description |
|---|---|
| Prompt Input | Composable chat input with auto-resizing textarea and action slots |
| Suggestions | Prompt suggestion chips for guiding user input |
| Model Selector | Dropdown for selecting AI models with radio groups, sub-menus, and custom items |
| Attachments | Composable file attachments for chat inputs and messages with preview, variants, and upload wiring |
| Message | Chat message layout with markdown, optional avatar, actions, and attachments |
| Thread | Scrollable chat thread with stick-to-bottom scrolling and jump-to-bottom control |
| Citation | Inline source references with hover preview and multi-source carousel |
| Reasoning | Collapsible model reasoning trace with streaming-aware labels and markdown body |
| Toaster | Theme-aware Sonner toaster wrapper with status icons |
| Text Shimmer | Animated shimmer text for loading, tool runs, and other in-progress UI |
| Image | Image renderer for URLs, base64, and byte payloads with preview, loader, lightbox, and action slots |
| Feedback Bar | Feedback prompt bar for per-message or thread ratings with action and close slots |
More components are being actively developed. See the roadmap or follow the repo for updates.
Credits
Built by Victor Williams. Designed by Michael Odunsi.