Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 14 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,19 @@ function MyDrawerComponent() {

[Here are additional examples](https://vaul-base.vercel.app/examples) demonstrating the component in use.

## Documentation
### Documentation and API Differences from Vaul

You can use original [Vaul documentation](https://vaul.emilkowal.ski/getting-started) for more information.

Since vaul-base uses Base UI internally (instead of Radix UI), the following components are re-exported directly from [Base UI's Dialog](https://base-ui.com/react/components/dialog) and follow Base UI's Dialog API conventions:

- `Drawer.Trigger`
- `Drawer.Close`
- `Drawer.Title`
- `Drawer.Description`


> **Note:** Base UI uses `render` prop instead of Radix's `asChild` for composition.


For more details on Base UI's Dialog, see the [Base UI Dialog component](https://base-ui.com/react/components/dialog).