Glass Alert Dialog
A modal confirmation dialog with a glass-styled content surface.













import {
AlertDialog,
AlertDialogAction,
AlertDialogCancel,Installation
$ npx shadcn add @glasscn/glass-alert-dialogVariants
clear
frosted
subtle
liquid
liquid-refract
API
Prop
Type
Default
Description
GlassAlertDialogContent
glassVariant"clear" | "frosted" | "subtle" | "liquid" | "liquid-refract""clear"Controls the glass surface treatment.
GlassAlertDialogContent
...propsReact.ComponentProps<typeof AlertDialogContent>-Props from the underlying shadcn/ui primitive.
AlertDialog primitives
...propsRe-exported alert dialog primitive props-Props from the underlying shadcn/ui primitive.