Introduction

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.

npx shadcn@latest add @nexus-ui/prompt-input
pnpm dlx shadcn@latest add @nexus-ui/prompt-input
npx shadcn@latest add @nexus-ui/prompt-input
bunx shadcn@latest add @nexus-ui/prompt-input

This copies the component source into your components/nexus-ui directory. You can then customize it however you want.

Components

ComponentDescription
Prompt InputComposable chat input with auto-resizing textarea and action slots
SuggestionsPrompt suggestion chips for guiding user input
Model SelectorDropdown for selecting AI models with radio groups, sub-menus, and custom items
AttachmentsComposable file attachments for chat inputs and messages with preview, variants, and upload wiring
MessageChat message layout with markdown, optional avatar, actions, and attachments
ThreadScrollable chat thread with stick-to-bottom scrolling and jump-to-bottom control

More components are being actively developed. See the roadmap or follow the repo for updates.

Credits

Built by Victor Williams. Designed by Michael Odunsi.