Confirmations before critical actions
A modal overlay that interrupts the current workflow to request confirmation. Traps focus, dismisses with Escape or backdrop click, and returns focus to the trigger on close.
Default
Destructive
Custom labels
// From the npm package
import { AlertDialog } from 'rift-ds/components/AlertDialog/AlertDialog';
// Or as source you own, via the shadcn CLI
npx shadcn@latest add https://rift-ds.com/r/alert-dialog.json