Drawer

Overlay

A slide-out panel.

Preview

Usage

<Drawer bind:open={isOpen}>Content</Drawer>

Props

NameTypeDefaultDescription
openbooleanfalseWhether the drawer is open.
position'left' | 'right''right'Drawer position.
titlestring''Drawer title.

Slots

NameDescription
defaultDrawer content.
footerDrawer footer.