This component no longer exists. It was in shadcn/ui’s manifest when we first indexed it and is not there now — the registry served its inventory on 2026-08-13 and this item was not on it. The install command below will fail. It is kept here because a tutorial somewhere still tells people to run it.
alert-dialog
agileflow-projectquestorg/alert-dialogRemovedComponent
shadcn/ui publishes no description for this item.
Install it
npx shadcn@latest add https://raw.githubusercontent.com/projectquestorg/AgileFlow/main/apps/docs/public/r/styles/radix-nova/alert-dialog.jsonSource
1"use client"23import * as React from "react"4import { AlertDialog as AlertDialogPrimitive } from "radix-ui"56import { cn } from "@/registry/bases/radix/lib/utils"7import { Button } from "@/registry/bases/radix/ui/button"89function AlertDialog({10 ...props11}: React.ComponentProps<typeof AlertDialogPrimitive.Root>) {12 return <AlertDialogPrimitive.Root data-slot="alert-dialog" {...props} />13}1415function AlertDialogTrigger({16 ...props17}: React.ComponentProps<typeof AlertDialogPrimitive.Trigger>) {18 return (19 <AlertDialogPrimitive.Trigger data-slot="alert-dialog-trigger" {...props} />20 )21}2223function AlertDialogPortal({24 ...props25}: React.ComponentProps<typeof AlertDialogPrimitive.Portal>) {26 return (27 <AlertDialogPrimitive.Portal data-slot="alert-dialog-portal" {...props} />28 )29}3031function AlertDialogOverlay({32 className,33 ...props34}: React.ComponentProps<typeof AlertDialogPrimitive.Overlay>) {35 return (36 <AlertDialogPrimitive.Overlay37 data-slot="alert-dialog-overlay"38 className={cn("data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 bg-black/10 duration-100 supports-backdrop-filter:backdrop-blur-xs fixed inset-0 z-50", className)}39 {...props}40 />41 )42}4344function AlertDialogContent({45 className,46 size = "default",47 ...props48}: React.ComponentProps<typeof AlertDialogPrimitive.Content> & {49 size?: "default" | "sm"50}) {51 return (52 <AlertDialogPortal>53 <AlertDialogOverlay />54 <AlertDialogPrimitive.Content55 data-slot="alert-dialog-content"56 data-size={size}57 className={cn(58 "data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 data-closed:zoom-out-95 data-open:zoom-in-95 bg-background ring-foreground/10 gap-4 rounded-xl p-4 ring-1 duration-100 data-[size=default]:max-w-xs data-[size=sm]:max-w-xs data-[size=default]:sm:max-w-sm group/alert-dialog-content fixed top-1/2 left-1/2 z-50 grid w-full -translate-x-1/2 -translate-y-1/2 outline-none",59 className60 )}61 {...props}62 />63 </AlertDialogPortal>64 )65}6667function AlertDialogHeader({68 className,69 ...props70}: React.ComponentProps<"div">) {71 return (72 <div73 data-slot="alert-dialog-header"74// … truncated
What it pulls in
Other registry items
