Dialog
Carbon's Modal, re-implemented on Radix Dialog. Three sizes (sm / md / lg) matching Carbon's spec. Includes Header / Body / Footer sub-parts so the layout is consistent across consumers.
primitives-dialog--defaultOpen all variants →
When to use
- General-purpose modals: configuration forms, multi-step flows, inline editors, large content overlays.
- The user can dismiss via Escape, scrim click, or the close button.
When not to use
- Destructive / blocking confirmations the user must answer → use `AlertDialog`.
- Edge-anchored slide-out panels → use `Sheet`.
- Tiny inline overlays anchored to a trigger → use `Popover` or `Tooltip`.