Components
GlassDialog
A glassmorphism-styled accessible dialog/modal powered by Radix UI.
Preview
Usage
Without Overlay
Props — GlassDialog
| Prop | Type | Default | Description |
|---|---|---|---|
open | boolean | — | Controlled open state |
defaultOpen | boolean | false | Initial open state (uncontrolled) |
onOpenChange | (open: boolean) => void | — | Callback on open state change |
modal | boolean | true | Whether the dialog is modal |
Props — GlassDialogContent
| Prop | Type | Default | Description |
|---|---|---|---|
hideOverlay | boolean | false | Hide the default backdrop overlay |
All Radix Dialog.Root and Dialog.Content props are also accepted.