Props & events
Attributes & behavior classes
Per the framework's per-component options: drawer always requires exactly one of .drawer-modal / .drawer-standard — there is no unstyled default.
| Attribute / class | Purpose |
|---|---|
.drawer-modal / .drawer-standard | Required structural mode class |
aria-current="page" | Marks the active .drawer-item |
aria-controls (on the trigger) | Points at the drawer's id |
Events
Opened/closed the same way as other overlays. Unlike menu/popover, sheets don't auto-close each other — opening a second drawer/bottom-sheet/side-sheet won't close one already open, so avoid triggering more than one at a time; Escape closes whichever is found first in document order.
| Event | Description |
|---|---|
flick:open / flick:close | Fired when the drawer opens or closes, via trigger, scrim click, or Escape. |