For AI Agents
Hand your agent this brief or the ReUI MCP, not a screenshot. Installs with a ReUI Pro or Ultimate license.
Best for: A header model Select over answers carrying copy, rating, regenerate and create note actions, plus web, image and voice composer buttons
When to use
- Record detail opened over a list or table: a ticket, metric, cron job, audit event, deploy, SLO or data source
- Create and edit forms in a side panel for a project, cron job, firewall rule, SLO or data connection
- Utility panels for help guides, keyboard shortcuts, an AI assistant, comments, notifications or view settings
When not to use
- A copilot on its own page with a streaming transcript and recent chats: use the Copilot Shell block
- A bare side panel with your own header, body and footer, nothing prebuilt: use the Sheet component
- A persistent sidebar or navigation layout that stays around every page: use the App Shell blocks
- An assistant conversation that fills the whole page rather than a side panel: use the AI Chat blocks
Agent notes
createAssistantReplyreturns a fixed template that echoes the prompt; replace it with your model call and stream the answerselectedModelValueis never passed tocreateAssistantReply, so switching the model changes only what the header shows- The
ASSISTANT_ACTIONSanswer buttons, the 3 header icon buttons and the composerInputGroupButtontools have noonClick - Each root renders a demo
SheetTriggerbutton and opens on mount viadefaultOpenor auseStateseeded true; start it closed in your app - Each
SheetContentclassName floats it inset withinset-y-4,right-4androunded-xland sets its own width; resize it there, not in the primitive - Each page.tsx only centers the trigger in a
min-h-svhmain with ansr-onlyh1; render the root component alone inside your page
https://web.dev.reui.io/blocks/application/sheet/sheet-4.mdget_block("sheet-4")npx shadcn@latest add @reui/sheet-4Shadcn Components in the AI Model Chat Block
Shadcn AI Model Chat Block
Inset right AI assistant sheet with model selector, suggestion chips, and composer toolbar. Part of the ReUI Shadcn Application Sheet blocks collection.
Floating right-side AI chat panel with a header model-switch Select, user and assistant message bubbles, suggestion chips, and an InputGroup composer toolbar. Uses shadcn Sheet, InputGroup, ScrollArea, Tooltip. AI copilot drawer, chatbot panel.
It is composed from Button, Field, Input Group, Scroll Area, Select, Sheet, Tooltip, so every part of it is a primitive you can restyle with your own design tokens.
What You Can Build With the AI Model Chat Block
- Install it with the ReUI registry command in the toolbar above, then swap the placeholder content, data wiring, and business logic for your own.
- Compare it across all eight ReUI styles and both the Base UI and Radix bases in the customizer before committing to one direction.
- Combine it with the other Shadcn Application Sheet blocks to assemble a full screen instead of a single section.
All Shadcn Application Sheet Blocks
The rest of this category, each on its own page with a live preview, the components it is built from, and the install command.
- Create Project Inset right project create Sheet with inline metadata comboboxes and target date picker
- Help Center Right-side help and support Sheet with search field and grouped guide links
- Keyboard Shortcuts Searchable keyboard shortcuts reference in a right inset sheet, grouped by section
- Comment Thread Inset right comment thread Sheet with reply, react, resolve and open-only filter
- View Customizer Inset right view customizer sheet with quick toggles and layout mode picker
- Notifications Feed Inset right notifications sheet with unread badge, mark-all-read, and rich activity feed
- Relay Settings Inset right settings sheet with scrollable two-section form, header and sticky footer
- Ticket Edit Sheet Inset right ticket details Sheet with inline per-row editing and save actions
- Copilot Chat Inset right AI assistant chat sheet with prompt suggestions and pinned composer toolbar
- Metric Detail Sheet Right-Side Metric Detail Sheet with Target Progress, Owners, Alert Rule, and Changes Timeline
- Cron Job Detail Cron job detail sheet with run history logs, duration chart and schedule settings
- New Cron Job New cron job sheet with schedule presets, cron validation and a next runs preview
- Audit Event Detail Audit event detail sheet with config diff, raw JSON and request trace
- Canary Rollout Deploy rollout sheet with a live canary pipeline, streaming logs and health charts
- Failed Deploy Failed deploy sheet with stage pipeline, full log and one-click retry
- New Firewall Rule New firewall rule sheet with a condition builder and live match preview against recent traffic
- Edit Firewall Rule Firewall rule edit sheet with a condition builder, live match preview and sampled log matches
- Firewall Request Firewall request detail sheet with a decision trace and raw log JSON
- SLO Error Budget SLO detail sheet with error budget burn-down, burn rate alerts and event exclusions
- New SLO New SLO sheet with objective presets, burn alert switches and a live error budget preview
- Data Connection Data connection detail sheet with sync health, dataset linking and masked data preview
- New Connection New connection wizard sheet with integration catalog, connection test and dataset picker
- Dataset Preview Dataset preview sheet with masked sample rows, a schema view and upstream column drift
Related Shadcn Application Block Categories
- App Shell (35) App shell layouts with sidebar, rail, or top bar navigation for dashboards, settings panels, and multi-page apps.
- Auth (20) Login, register, forgot password, and two-factor authentication page layouts.
- Card (43) Card components for content display, data summaries, and interactive elements.
- Dashboard (8) Dashboard components and layouts that combine stats, charts, and tables into a complete overview screen.
- Dialog (14) Dialog components for modal windows, alerts, confirmations, and content overlays.
- Empty State (14) Empty state screens and no-data placeholders with recovery actions, onboarding prompts, and contextual guidance.
All Shadcn Block Groups
Browse the full ReUI Shadcn blocks library by product surface. Each group bundles category-level blocks you can mix and match across your project.
- Shadcn Application Blocks (303) Browse 303 Shadcn Application blocks across 23 categories.
- Shadcn Data Grid Blocks (47) Browse 47 Shadcn Data Grid blocks across 9 categories.
- Shadcn Charts Blocks (52) Browse 52 Shadcn Charts blocks across 10 categories.
- Shadcn Solutions Blocks (76) Browse 76 Shadcn Solutions blocks across 11 categories.
- Shadcn AI & Agents Blocks (22) Browse 22 Shadcn AI & Agents blocks across 3 categories.
- Shadcn eCommerce Blocks (87) Browse 87 Shadcn eCommerce blocks across 13 categories.
- Shadcn Marketing Blocks (67) Browse 67 Shadcn Marketing blocks across 8 categories.
Frequently Asked Questions
When should I use the AI Model Chat block?
Use it for a header model Select over answers carrying copy, rating, regenerate and create note actions, plus web, image and voice composer buttons.
The Sheet category fits:
- Record detail opened over a list or table: a ticket, metric, cron job, audit event, deploy, SLO or data source
- Create and edit forms in a side panel for a project, cron job, firewall rule, SLO or data connection
- Utility panels for help guides, keyboard shortcuts, an AI assistant, comments, notifications or view settings
For a copilot on its own page with a streaming transcript and recent chats, use the Copilot Shell block. For a bare side panel with your own header, body and footer, nothing prebuilt, use the Sheet component. For a persistent sidebar or navigation layout that stays around every page, use the App Shell blocks. For an assistant conversation that fills the whole page rather than a side panel, use the AI Chat blocks.
What is the AI Model Chat block built with?
Can I restyle the AI Model Chat block?
How should I use Shadcn sheet blocks in a real project?
Start building with ReUI Pro today.
Every Pro block, every style, and every future addition, with one license for unlimited projects.
From $249, once. Lifetime updates.