Installation
Install the package and its peer dependencies.
Peer dependencies
@monetr/vaul expects the following peers to be installed by the host application:
react^18.0 || ^19.0.0react-dom^18.0 || ^19.0.0@radix-ui/react-dialog^1.0.0
The library re-uses Radix Dialog primitives, so Drawer.Trigger, Drawer.Close, Drawer.Title, and Drawer.Description behave exactly like their Radix counterparts including asChild slotting.
First drawer
The library ships its own animation CSS via src/style.css (it loads automatically through the package's sideEffects declaration). You still need to position Drawer.Content and Drawer.Overlay in your own stylesheet. See Getting started for the recommended layout.
Next: head to the API reference for the full list of props, or jump to Snap points for a multi-stop bottom sheet.