BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/washiveil/glass-dialog

Glass Dialog

washiveil/glass-dialog
FreeComponent

Modal dialog as a glass veil — blurred translucent panel over a soft scrim, built on Radix Dialog.

Install it

npx shadcn@latest add https://washiveil.alexchih.com/r/glass-dialog.json

Source

registry/washiveil/ui/glass-dialog.tsxwashiveil.alexchih.com/r/glass-dialog.json
1'use client'
2
3import * as React from 'react'
4import { Dialog as DialogPrimitive } from 'radix-ui'
5import { X } from 'lucide-react'
6
7import { cn } from '@/lib/utils'
8
9const GlassDialog = DialogPrimitive.Root
10
11const GlassDialogTrigger = DialogPrimitive.Trigger
12
13const GlassDialogPortal = DialogPrimitive.Portal
14
15const GlassDialogClose = DialogPrimitive.Close
16
17const GlassDialogOverlay = React.forwardRef<
18 React.ComponentRef<typeof DialogPrimitive.Overlay>,
19 React.ComponentPropsWithoutRef<typeof DialogPrimitive.Overlay>
20>(({ className, ...props }, ref) => (
21 <DialogPrimitive.Overlay
22 ref={ref}
23 className={cn(
24 'fixed inset-0 z-50 bg-deep/20 backdrop-blur-sm dark:bg-black/40 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0',
25 className,
26 )}
27 {...props}
28 />
29))
30GlassDialogOverlay.displayName = DialogPrimitive.Overlay.displayName
31
32const GlassDialogContent = React.forwardRef<
33 React.ComponentRef<typeof DialogPrimitive.Content>,
34 React.ComponentPropsWithoutRef<typeof DialogPrimitive.Content>
35>(({ className, children, ...props }, ref) => (
36 <GlassDialogPortal>
37 <GlassDialogOverlay />
38 <DialogPrimitive.Content
39 ref={ref}
40 className={cn(
41 'fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 rounded-3xl border border-glass-edge bg-glass-stronger p-6 backdrop-blur-2xl backdrop-saturate-150 shadow-[0_16px_48px_rgba(28,25,20,0.12)] duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%]',
42 className,
43 )}
44 {...props}
45 >
46 {children}
47 <DialogPrimitive.Close className="absolute right-4 top-4 grid size-6 place-items-center rounded-full text-muted-foreground transition-colors hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:pointer-events-none">
48 <X className="size-4" />
49 <span className="sr-only">Close</span>
50 </DialogPrimitive.Close>
51 </DialogPrimitive.Content>
52 </GlassDialogPortal>
53))
54// … truncated

What it pulls in

npm packages

  • radix-ui
  • lucide-react

Other registry items

  • https://washiveil.alexchih.com/r/theme.json

Files it writes

  • registry/washiveil/ui/glass-dialog.tsx

Facts

Registry
washiveil
Type
registry:ui
Access
Free
Files written
1
Licence
MIT
In the index
at or before 2026-08-12
Last confirmed
today

Go to the source

washiveil.alexchih.com tochny/washiveil on GitHub Raw registry item This item as JSON

More from washiveil

All 58 items
Same registry, same kind — the ones you would have found next
ComponentRegistryKindAccessInstallsCommand
Ambient Fieldambient-fieldwashiveilComponentsFreeno deps
ChipchipwashiveilComponentsFree1 dep
Code Badgecode-badgewashiveilComponentsFreeno deps
Glass Accordionglass-accordionwashiveilComponentsFree2 deps
Glass Alertglass-alertwashiveilComponentsFree1 dep
Glass Alert Dialogglass-alert-dialogwashiveilComponentsFree1 dep
Glass Aspect Ratioglass-aspect-ratiowashiveilComponentsFree1 dep
Glass Avatarglass-avatarwashiveilComponentsFree1 dep

Also from Kynth Studios

Built for the same person as BlockDex

SkillWorks

Claude Code skills and plugins, scored

skillworks.kynth.studio

RuleStack

AGENTS.md gallery and agent-config comparison

rulestack.kynth.studio

ToolDrift

What the AI coding tools changed last night

tooldrift.kynth.studio

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and ToolDrift

part of Toolproof, the measurement layer for AI agent tooling

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and ToolDrift

part of Toolproof, the measurement layer for AI agent tooling

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and ToolDrift

part of Toolproof, the measurement layer for AI agent tooling

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex