Sheet

Installation

$npx shadcn-macos@latest add sheet

Examples

Props

<Sheet />
PropTypeDefaultDescription
open*boolean—Controls sheet visibility.
onOpenChange*(open: boolean) => void—Visibility change callback.
side"top" | "right" | "bottom" | "left""right"Edge from which the sheet slides out.
titlestring—Sheet panel header title.
descriptionstring—Sheet panel subtitle context.
childrenReact.ReactNode—Inspector panel content.