ThiloDesign System
DV

Sheet

shadcn/ui
8 sub-components

Slide-over panel from any edge. Use for ticket detail views, settings panels, and filters — the table stays visible behind.

@/components/ui/sheet

Sides

In-context — ticket detail panel

Right-side Sheet is the primary pattern for ticket details. The table stays visible and interactive behind the overlay.

Sheet vs Dialog

Use Sheet when

• Ticket / record detail view

• Settings with many fields

• Filter sidebar

• Table stays visible behind

• Content is tall or scrollable

Use Dialog when

• Confirmation (delete, archive)

• Short create form

• Requires full attention

• Action is destructive

• Content fits in a compact box

Sub-components

ComponentRole
SheetRoot — manages open/closed state (wraps Radix Dialog)
SheetTriggerElement that opens the sheet on click
SheetContentThe sliding panel — accepts side: right | left | top | bottom
SheetHeaderContainer for SheetTitle and SheetDescription
SheetTitleRequired accessible title (rendered as h2)
SheetDescriptionOptional subtitle / description text
SheetFooterAction area at the bottom — Cancel + Save pattern
SheetCloseProgrammatically close the sheet from inside

On this page