Responsive Modal
A responsive Modal component built with Vaul and Framer Motion. Opens like an app drawer on mobile devices and functions as a dialog or sliding panel on desktop.
A responsive Modal component built with Vaul and Framer Motion. Opens like an app drawer on mobile devices and functions as a dialog or sliding panel on desktop.
Please add this property in your layout.tsx or app.tsx
| 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 |
| triggerContent | ReactNode | This will use for default click without an using state |