Sheet
A panel that enters from an edge of the viewport for secondary content.
- Overlays
- 1 file
- 2 npm packages
- Accessibility notes
pnpm dlx @dowel-ui/cli add sheetnpm packages installed: class-variance-authority, radix-ui.
import { Sheet } from "@/components/ui/sheet";Default
Sides
Navigation
Spring
<SheetOverlay>
Every prop of Radix UI’s Dialog.Overlay, plus className.
<SheetContent>
| Prop | Type | Default |
|---|---|---|
animationHow the content arrives. | "default" | "spring" | "default" |
showCloseButton | boolean | true |
side | "top" | "bottom" | "left" | "right" | "right" |
Every prop of Radix UI’s Dialog.Content, plus className.
<SheetHeader>
Plus every attribute of <div>.
<SheetFooter>
Plus every attribute of <div>.
<SheetTitle>
Every prop of Radix UI’s Dialog.Title, plus className.
<SheetDescription>
Every prop of Radix UI’s Dialog.Description, plus className.
8/8
checks passed
- Tested — passes
- axe assertion — passes
- Keyboard tested — does not apply
- Storybook examples — passes
- Accessibility documented — passes
- Semantic tokens only — passes
- Motion from tokens — passes
- className merged — passes
- Visible focus — does not apply
- No fixed widths — passes