Components
Dialog
BetaA window over the page for a form, details or settings.
Details
A window that holds any content (a form, details, settings) and closes on Escape, a click outside or its close button. It sits over a dimmed page. Focus is trapped inside and returns to the trigger; the page behind is inert and does not scroll. To confirm a consequential action (delete, discard, revoke), use Alert dialog, which is this window with role="alertdialog". Behaviour comes from the Zag dialog machine, through Ark UI in React, Vue and Svelte.
Behaviour from Ark UI, the dialog machine of Zag.