Directional Drawer
A Responsive multi Directional/Sliding Drawer component for React with Vaul. Functions as a collapsible navigation drawer on mobile and a persistent sidebar on desktop.
A Responsive multi Directional/Sliding Drawer component for React with Vaul. Functions as a collapsible navigation drawer on mobile and a persistent sidebar on desktop.
npx uilayouts@latest add directional-drawer
Prop | Type | Description |
---|---|---|
open | boolean | The content to be displayed within the AuroraBackground component. |
setOpen | boolean | this is an function to close and open the drawer |
drawerBtn | function | this is an function for default button, when you don't to use state then you can use drawerBtn |