Sheet

Overlays & Feedback

macOS slide-over Inspector side panel.

Installation

$npx shadcn-macos@latest add sheet

Examples

Props

<Sheet />
PropTypeDefaultDescription
open*booleanControls sheet visibility.
onOpenChange*(open: boolean) => voidVisibility change callback.
side"top" | "right" | "bottom" | "left""right"Edge from which the sheet slides out.
titlestringSheet panel header title.
descriptionstringSheet panel subtitle context.
childrenReact.ReactNodeInspector panel content.