Sheet
Side / top / bottom-anchored modal panel.
packages/ui/src/components/ui/sheet.tsx
Import
Subpath export:
@marktiderman/genesis-uiimport { Sheet } from "@marktiderman/genesis-ui";Exports
Re-exported from
@marktiderman/genesis-ui.- Sheet
- SheetTrigger
- SheetContent
- SheetHeader
- SheetTitle
- SheetDescription
Components
Auto-generated from TypeScript source via
react-docgen-typescript.Sheet
No declared props.
SheetPortal
No declared props.
SheetOverlay
| Prop | Type | Default | Description |
|---|---|---|---|
| asChild | boolean | — |
SheetTrigger
| Prop | Type | Default | Description |
|---|---|---|---|
| asChild | boolean | — |
SheetClose
| Prop | Type | Default | Description |
|---|---|---|---|
| asChild | boolean | — |
SheetContent
| Prop | Type | Default | Description |
|---|---|---|---|
| asChild | boolean | — | |
| overlayClassName | string | — | Classes for the backdrop rendered behind the sheet, merged after the defaults, e.g. a lighter scrim or a different `z-index`. Mirrors `DialogContent`'s `overlayClassName`. |
| showCloseButton | boolean | true | Show the built-in top-right close affordance. Default true. Mirrors `DialogContent`'s `showCloseButton` — set false when a composing consumer (e.g. `DetailPanel`) renders its own close control. |
| side | "top" | "bottom" | "left" | "right" | null | right |
SheetHeader
No declared props.
SheetFooter
No declared props.
SheetTitle
| Prop | Type | Default | Description |
|---|---|---|---|
| asChild | boolean | — |
SheetDescription
| Prop | Type | Default | Description |
|---|---|---|---|
| asChild | boolean | — |