Drawer

A panel that slides in from the edge of the screen. Built on top of Dialog primitives.

Usage

PreviewCode

API Reference

VoltDrawerClose — volt-drawer-close

InputTypeDefault
class string ''

VoltDrawerContent — [voltDrawerContent]

InputTypeDefault
side DrawerSide 'right'
class string ''
role unknown —
modal unknown —

VoltDrawerDescription — [voltDrawerDescription]

InputTypeDefault
class string ''

VoltDrawerOverlay — [voltDrawerOverlay]

InputTypeDefault
class string ''
closeOnClick unknown —

VoltDrawerTitle — [voltDrawerTitle]

InputTypeDefault
class string ''

VoltDrawer — [voltDrawer]

InputTypeDefault
closeOnEscape boolean true
voltDrawer unknown —
OutputType
closedunknown

Component Source

Install via CLI:npx @voltui/cli add drawer
TypeScript
Loading editor…

Copy this code to your project. The component uses ng-primitives/dialog.