Skip to content

Docs/clarify api differences#11

Open
antonycaporossi wants to merge 2 commits intoborabaloglu:mainfrom
antonycaporossi:docs/clarify-api-differences
Open

Docs/clarify api differences#11
antonycaporossi wants to merge 2 commits intoborabaloglu:mainfrom
antonycaporossi:docs/clarify-api-differences

Conversation

@antonycaporossi
Copy link
Copy Markdown

The README states that users can refer to the original Vaul documentation, but this isn't entirely accurate.

Drawer.Trigger, Drawer.Close, Drawer.Title, and Drawer.Description are re-exported from Base UI's Dialog, not Vaul. This means they follow Base UI's API (e.g., render prop) instead of Radix's API (e.g., asChild prop).

Added a section to clarify which components have different APIs and linked to Base UI's documentation.

@vercel
Copy link
Copy Markdown
Contributor

vercel bot commented Jan 7, 2026

@antonycaporossi is attempting to deploy a commit to the borabaloglu's projects Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant