Skip to main content
Package: @base-ui/react.

Try it

Open Edit, change the name, and save. Open it again, make another change, and cancel to discard that draft.
Workspace name

Package examples

Code

base-ui-example.tsx

Keyboard

Tab stays inside the dialog while it is open. Escape closes it, and focus returns to Edit.

Key props

Base UI Dialog documentation