Skip to content

Dialog

Modal confirmation (Radix). Focus-trapped, Escape-to-close, elevation/3.

PropTypeDefaultDescription
triggerReactNoderequired
titlestringrequired
descriptionstring
childrenReactNode
footerReactNode
openboolean
onOpenChange(open: boolean) => void
  • closed
  • open
Do
Use for irreversible confirmations; make the affirmative button primary.
Don’t
Don’t stack dialogs or use them for non-blocking info — use Alert.

Colors come only from Semantic tokens, so this component re-themes automatically across Day / Night-NVG / Mono with no variant swap. It uses CSS logical properties, so it mirrors correctly in RTL.