Skip to main content
BlocksAI ChatConversation thread with model menu

shadcn/ui AI Chat block for Base UIConversation thread with model menu

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.

Pro@shadcnpro/base/ai-chat-06

Preview

Installation

Part of shadcn/ui Pro

Pro unlocks the source code and one-command install of all 439 blocks, plus the Figma kit, themes and the MCP server for your AI editor.

Let your AI editor install it

The shadcn/ui Pro MCP server lets Cursor, Claude Code and VS Code find and install blocks like Conversation thread with model menu from one prompt. It is included in every Pro plan.

Add the shadcn/ui components

Conversation thread with model menu uses Button, Dropdown Menu, Input Group and Textarea, from the Base UI components set up in your components.json.

npx shadcn@latest add button dropdown-menu input-group textarea

Install the npm packages

npm install @base-ui/react class-variance-authority lucide-react use-stick-to-bottom

Copy the code

Paste it into components/blocks/ai-chat-06.tsx.

components/blocks/ai-chat-06.tsx

Part of shadcn/ui Pro

Pro unlocks the source code and one-command install of all 439 blocks, plus the Figma kit, themes and the MCP server for your AI editor.

Use it

Multi-file block: 4 files are installed under components/blocks/.

Usage
import AiChat06 from '@/components/blocks/ai-chat-06';
<AiChat06 />

Overview

Conversation thread with model menu is a Pro ai chat block for shadcn/ui and Base UI. It is built from the Button, Dropdown Menu, Input Group and Textarea components with @base-ui/react, class-variance-authority, lucide-react and use-stick-to-bottom, and installs as 4 files you own and can edit.

It only uses semantic tokens such as bg-background, text-muted-foreground and border-border, so it follows your theme, radius and fonts and switches with dark mode. It is responsive from desktop to mobile; the width controls above the preview show each size. The same layout is in the shadcn/ui Pro Figma kit, so design and code start from one source.

Category
AI Chat
Component library
Base UI (@base-ui/react)
Also available for
Radix UI, React Aria
npm packages
@base-ui/react, class-variance-authority, lucide-react, use-stick-to-bottom
Files
4 files in components/blocks/
Access
Included in every plan

Frequently asked questions

Pricing, installation and Base UI details for Conversation thread with model menu.