- Components
- Overlays
Sheet
Dialog that slides in from an edge with ease-out-soft: 300ms in, 200ms out.
Installation#
npx shadcn add @ortaui/sheetExamples#
Sides#
API reference#
| Prop | Type | Default | Description |
|---|---|---|---|
| open / defaultOpen | boolean | - | Controlled or uncontrolled state. |
| onOpenChange | (open: boolean) => void | - | Called when the open state changes. |
| side | "top" | "right" | "bottom" | "left" | "right" | SheetContent: the edge it slides from. |
| className | string | - | Merged with the component classes via cn(). |