Drawer
Slide-in side panel with backdrop, focus trapping, position variants, and slot-based content. Built on GlobalOverlay and Framer Motion. Also exports useDrawer hook.
Import
import { Drawer, DrawerHeader, DrawerContent, DrawerFooter, useDrawer } from 'reablocks';
Drawer Props
| Prop | Type | Default | Description | |------|------|---------|-------------| | open | boolean | — | Whether the drawer is visible | | onClose | () => void | — | Close handler | | `p
[Description truncada. Veja o README completo no GitHub.]