Dialog

A window layered over the page that asks for input or shows detail.

components/ui/dialog.tsx

Installation

npx betterone-ds add dialog

Props

PropTypeDefault
Dialog showCloseButtonbooleantrue
Dialog isDismissablebooleantrue

Accessibility

  • Focus is trapped while open and returns to the trigger on close.