Sheet
Overlayshadcn/uiA panel that slides in from an edge. side='bottom' is the mobile bottom sheet for actions, filters and pickers; left and right are side panels for navigation or details on desktop.
When to use
- Use side='bottom' on mobile instead of a Dialog or a dropdown menu.
- List actions inside as a List of interactive ListItems.
- Don't put more than one screen of content in a bottom sheet; navigate to a page.
- Don't stack sheets.
Accessibility
- Role
- dialog (aria-modal)
- Keyboard
- Focus is trapped inside. Esc closes.
- Notes
- SheetTitle is required; use sr-only if it should not show.
Props
side= 'bottom''bottom' | 'right' | 'left'On SheetContent.
open / onOpenChangeboolean / (open: boolean) => voidControlled state.
Prompt for your agent
Use the UnbuiltUI Sheet. Call unbuilt_get_component("Sheet") first and follow its spec: variants, states, usage rules and accessibility.
unbuilt_get_component returns
3 variants1 state2 props4 usage rules3 a11y notes4 tokens1 example
Add it with shadcn
$
npx shadcn add https://unbuiltui.com/r/sheet.jsonTokens · 4
bg.raisedborder.defaultradius.lgshadow.raised