Dialog
A window layered over the page that asks for input or shows detail.
components/ui/dialog.tsx
Preview
Code
Installation
npx betterone-ds add dialogProps
| Prop | Type | Default |
|---|---|---|
| Dialog showCloseButton | boolean | true |
| Dialog isDismissable | boolean | true |
Accessibility
- Focus is trapped while open and returns to the trigger on close.

