Drawer
A panel that slides in from the edge of the screen. Swipe to dismiss on touch devices.
components/ui/drawer.tsx
Preview
Code
Installation
npx betterone-ds add drawerProps
| Component | Prop | Type | Default |
|---|---|---|---|
Accessibility
- Focus is trapped inside while open. Esc closes it.
- Always include a visible Close or Cancel control, not only the swipe gesture.

