Skip to content

Alert Dialog

Confirm/cancel modal dialog (non-dismissable on backdrop).

Terminal window
npx github:truongnat/rnui#cli add alert-dialog

or directly via the shadcn CLI:

Terminal window
npx shadcn add https://<registry-base>/r/nativewind/alert-dialog.json # or /uniwind/
components/ui/alert-dialog.tsx
// See the source file for the API:
  • components/ui/alert-dialog.tsx

Installs together with: utils, text, theme