Drawer
OverlayA slide-out panel.
Preview
Usage
<Drawer bind:open={isOpen}>Content</Drawer>Props
| Name | Type | Default | Description |
|---|---|---|---|
| open | boolean | false | Whether the drawer is open. |
| position | 'left' | 'right' | 'right' | Drawer position. |
| title | string | '' | Drawer title. |
Slots
| Name | Description |
|---|---|
| default | Drawer content. |
| footer | Drawer footer. |