Vvcare/ui
Documentation menu

Components

Primitives

Alert Dialog

A modal that asks the user to confirm an action before it runs.

Installation

npx shadcn@latest add @vcare/alert-dialog

Or install directly from the URL: https://ui.vcarehms.com/r/alert-dialog.json

Usage

import { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter } from "@/components/ui/alert-dialog"

Exports

AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogMedia, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger

Dependencies

  • radix-ui@^1.8.1 (npm)
  • @vcare/button (registry)
  • @vcare/utils (registry)

Raw item: /r/alert-dialog.json