Glass Alert Dialog

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

import {
  AlertDialog,
  AlertDialogAction,
  AlertDialogCancel,

Installation

$ npx shadcn add @glasscn/glass-alert-dialog

API

Prop
Type
Default
Description
GlassAlertDialogContentglassVariant
"clear" | "frosted" | "subtle" | "liquid" | "liquid-bold""clear"
Controls the glass surface treatment.
GlassAlertDialogContent...props
React.ComponentProps<typeof AlertDialogContent>-
Props from the underlying shadcn/ui primitive.
AlertDialog primitives...props
Re-exported alert dialog primitive props-
Props from the underlying shadcn/ui primitive.

Variants

clear
frosted
subtle
liquid
liquid-bold