Alert Dialog

A modal dialog that interrupts the user with important content and expects a response.

Installation

Every component ships in @astrawind/ui. If you haven't set it up, follow the installation guide, then import the component:
Terminal
npx expo install @astrawind/ui @astrawind/css lucide-react-native react-native-svg

Usage

tsx
import { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogTitle, AlertDialogTrigger, } from "@astrawind/ui/alert-dialog"
See the Code tab above for a complete example.
Built with @astrawind/ui and @astrawind/css. Components ported from shadcn/ui (MIT).