Alert Dialog
A modal dialog that interrupts the user with important content and expects an explicit response (e.g. confirming a destructive action) — unlike Dialog, it can't be dismissed by clicking outside or pressing Escape.
Installation
CLI
Manual
- 1
Register the @fma-ds namespace in components.json (once)
- 2
Add the item
Files land in
components/fma-ds/alert-dialog.tsx; npm and registry dependencies are installed along with them.
Dependencies
- npm
- cn@^0.5.0react-aria-components@^1.22.1
- Registry
- @fma-ds/button