AI Chat
AI chat interfaces, prompt composers, and assistant conversation layouts for shadcn/ui. Message threads, model pickers, voice input, attachments, and full chat applications. Built for shadcn/ui.
A pill-shaped shadcn/ui AI chat composer that expands into a rounded card as the prompt grows. Includes an attachments menu with agent and research modes, microphone and waveform buttons for voice dictation, and a send button that enables once text is entered. Built with shadcn/ui Button, DropdownMenu, and Textarea using only semantic tokens, so it adapts to any shadcn/ui theme.
A shadcn/ui AI prompt input card with an inline model selector built on the Select component, a premium model badge, an image attachment button, and a send button. Three suggestion chips below the box prefill common coding prompts. Ideal for AI copilots, code assistants, and chat landing screens built with shadcn/ui.
A compact shadcn/ui AI chat input with a tools menu (attach files, code interpreter, web search, history), an "Auto" mode toggle, and a row of pill dropdowns for runtime, persona, and effort level. Uses shadcn/ui DropdownMenu, Button, and Textarea with semantic colors and radius tokens, making it a drop-in composer for developer-focused AI products.
A hero-style shadcn/ui AI prompt block with headline, subheadline, and a bordered composer that accepts drag-and-drop or picked files shown as removable Badge chips with image previews. Includes an attachments menu, a settings dropdown with Switch toggles, and quick-action buttons for common starting points. A complete "describe what to build" entry screen for shadcn/ui AI apps.
A full shadcn/ui AI chat thread with auto-scrolling message list, user and assistant bubbles, hover actions for copy, feedback, and regenerate, plus a composer with attachment and send buttons. Built with the shadcn/ui Message, Bubble, and MessageScroller primitives, so the conversation stays pinned to the newest reply and follows your theme tokens.
A shadcn/ui AI chat interface that pairs a scrolling conversation with a composer featuring a model selection dropdown, reasoning-effort options, and attachment controls. Message bubbles support markdown-style content, timestamps, and per-message actions. Ideal for multi-model assistants and AI workspaces built on shadcn/ui.
A complete shadcn/ui chat application: a collapsible Sidebar with conversation history grouped by date, a ⌘K command menu for switching threads, a conversation view with streaming-style assistant replies, and a composer with model picker and attachments. Shipped as a multi-file block with sample data so you can wire it to your own API. Built entirely with shadcn/ui components.
A shadcn/ui chat block modelled on the AI Elements pattern: a Conversation container with auto scroll, Message components for user and assistant turns, and a PromptInput with toolbar, model select, and submit state. Includes local, dependency-free versions of the conversation, message, and prompt-input components so it installs cleanly into any shadcn/ui project.
Frequently asked questions
What the AI Chat blocks include, how to install them, and which ones are free.
8 AI Chat blocks for shadcn/ui:
- Assistant composer with voice dictation
ai-chat-01(free) - Prompt box with model picker and suggestions
ai-chat-02 - Compact composer with mode toggles
ai-chat-03 - Prompt hero with drag-and-drop attachments
ai-chat-04 - Conversation thread with message actions
ai-chat-05 - Conversation thread with model menu
ai-chat-06 - Full chat application with sidebar
ai-chat-07 - Chat with AI Elements composer
ai-chat-08
Set up the shadcn/ui Pro registry in your project once, as described in Installation, then run npx shadcn@latest add @shadcnpro/base/ai-chat-01. The block lands in components/blocks/ai-chat-01.tsx together with the shadcn/ui components and npm packages it uses. ai-chat-01 is free, so it installs without a license key.
Yes. Assistant composer with voice dictation (ai-chat-01) is free: the code is shown on this page and it installs without a license key. The other 7 need a shadcn/ui Pro plan, which starts with a 7-day free trial.
Yes. Every AI Chat block uses semantic classes such as bg-background, text-muted-foreground and bg-primary, so it picks up your colors, radius and fonts and switches with dark mode. It is responsive from desktop to mobile; the width controls on the preview above let you check.
Yes. Every AI Chat block has a matching design in the shadcn/ui Pro Figma kit, so designers and developers work from the same layout. The /generate-code Agent Skill installs the block from the registry when it finds it in a Figma frame, instead of rebuilding it.
Yes. With the shadcn/ui Pro MCP server connected to Cursor, Claude Code or VS Code, describe what you need, for example "Use shadcnpro to add an assistant composer with voice dictation." The agent finds the block with search_blocks, reads its install command and installs it after you approve.