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: Reply quoting above the composer, per comment resolve and delete, a reaction count toggle, and Mark all resolved in a header menu
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 feed of system events with inline approve buttons, not a discussion: use the Notifications Feed 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
- Replace
INITIAL_COMMENTS,CURRENT_COMMENT_AUTHORandCOMMENT_THREAD_CONTEXT, the Stripe thread title and logo, with your thread data - Replies, reactions, resolves and deletes live only in
comments,reactedCommentIdsandresolvedCommentIds; persist them to your API - Both Copy link menu items and the composer emoji, mention and attach
InputGroupButtons 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-5.mdget_block("sheet-5")npx shadcn@latest add @reui/sheet-5Shadcn Components in the Comment Thread Block
Dependencies
- cn
Shadcn Comment Thread Block
Inset right comment thread Sheet with reply, react, resolve and open-only filter. Part of the ReUI Shadcn Application Sheet blocks collection.
Client discussion sheet for collaboration and review apps. Comments with reply, emoji react, resolve and reopen, open-versus-all filter and a composer. ReUI Badge, shadcn Sheet, Item, Avatar, InputGroup, DropdownMenu, ScrollArea, Tooltip.
It is composed from Avatar, Badge, Button, Dropdown Menu, Field, Input Group, Item, Scroll Area, and more, so every part of it is a primitive you can restyle with your own design tokens.
What You Can Build With the Comment Thread 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
- AI Model Chat Inset right AI assistant sheet with model selector, suggestion chips, and composer toolbar
- 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 Comment Thread block?
Use it for reply quoting above the composer, per comment resolve and delete, a reaction count toggle, and Mark all resolved in a header menu.
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 feed of system events with inline approve buttons, not a discussion, use the Notifications Feed 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 Comment Thread block built with?
Can I restyle the Comment Thread 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.