Skip to content
On this page

Drawer
New
​

Build hidden sidebars into your project for navigation, shopping carts, and more.

Usage ​

placement ​

Set drawer placement.

shakeOff ​

Shake off somthing.

fullscreen ​

Set whether to full screen.

headless ​

Custom drawer.

Props ​

NameTypeDefaultDescription
placement'left' | 'right' | 'top' | 'bottom''left'set drawer placement.
fullscreenbooleanfalseSet whether to full screen.
shakeOff<'x-button' | 'mask' | 'header'>[][]shake off somthing.

Slots ​

NameParametersDescription
default()Notification's content.
headless()Custom notification.

MIT Licensed