Skip to content

Sheet

A slide-out panel component with animations.

Installation

First install? Complete the one-time host setup.

Live preview

A panel that slides in from a screen edge, for secondary flows that need more room than a popover — filters, a detail editor, navigation.

Loading preview…

Props

PropTypeDefaultDescription
side (on SheetContent)'top' | 'right' | 'bottom' | 'left''right'Which edge the panel slides in from.
showClose (on SheetContent)booleantrueRender the built-in close button.

Parts

PartDescription
SheetTriggerOpens the sheet. Use asChild to wrap your own button.
SheetContentThe sliding panel. Set side to choose the edge.
SheetHeader / SheetTitle / SheetDescriptionThe titled header region.
SheetFooterThe action row pinned to the bottom of the panel.
SheetCloseDismisses the sheet; wrap your own button with asChild.
SheetStackProviderOpt-in wrapper that lets nested sheets stack and offset instead of replacing each other.