Sheet
OverlaysA floating side or bottom panel with a rounded overlay surface.
Live preview
Installation
Import the component from the kit. The package ships source and is transpiled by Next.js.
Usage
Compose the component with your own content. All controls share the same focus, disabled and invalid states.
API Reference
Props are additive to the underlying Base UI or native element.
| Prop | Type | Default | Description |
|---|---|---|---|
| open | boolean | — | Controlled open state. |
| onOpenChange | (open: boolean) => void | — | Called when the sheet opens or closes. |
| trigger | ReactElement | — | Element that opens the sheet. |
| side | "right" | "left" | "bottom" | "right" | Panel edge. |
| title | ReactNode | — | Sheet title. |
| description | ReactNode | — | Supporting description. |
| footer | ReactNode | — | Actions rendered at the bottom. |