Classes list
Every class Drawer recognizes, straight from the @flickui/css source.
| Class | Purpose |
|---|---|
.drawer | Base class — required |
.drawer-modal / .drawer-standard | Structural mode — always required, no default |
.drawer-scrim | Modal-mode backdrop (add .action-close to dismiss on click) |
.drawer-panel | The visible sliding/static panel |
.drawer-header | Optional heading area inside the panel |
.drawer-items / .drawer-item | The navigation item list and each link/button (aria-current="page" marks the active one) |
.drawer-item-icon | Leading icon slot inside a .drawer-item |
.toggle-target | Behavior hook on an external trigger — opens the drawer via aria-controls |
.action-close | Behavior hook — closes the drawer (typically on the scrim or a close button) |
.is-open / .is-closed | Runtime state — meaning differs by mode (modal: resting=hidden; standard: resting=visible) |