Sheet
Overlays & Feedback
macOS slide-over Inspector side panel.
Installation
$npx shadcn-macos@latest add sheet
Examples
Props
<Sheet />| Prop | Type | Default | Description |
|---|---|---|---|
| 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. |
| title | string | — | Sheet panel header title. |
| description | string | — | Sheet panel subtitle context. |
| children | React.ReactNode | — | Inspector panel content. |