Glass Alert Dialog
A modal confirmation dialog with a glass-styled content surface.
import {
AlertDialog,
AlertDialogAction,
AlertDialogCancel,Installation
$ npx shadcn add @glasscn/glass-alert-dialogAPI
Prop
Type
Default
Description
GlassAlertDialogContent
glassVariant"clear" | "frosted" | "subtle" | "liquid" | "liquid-bold""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.
Variants
clear
frosted
subtle
liquid
liquid-bold