Glass thatactually refracts.

Copy-ready React components with generated displacement maps, layered rims, and source you own.

pnpm dlx [email protected] add @glassyui/glass-input @glassyui/glass-button
Copy-ready source

Welcome to Glassy UI

Source-ready refractive interface components.

Component preview ready.

Under the glass

Not frosting. Refraction.

Keep a decorative scene fixed to the viewport and each surface bends the exact part it passes over with its own generated displacement map.

refractionBackground
generated SVG filter
layered inset rim
<GlassSurface
  refraction="strong"
  refractionBackground={<BackdropArt />}
  refractionBackgroundSpace="viewport"
>
  Surface content
</GlassSurface>

Install

Install only what you need.

Initialize shadcn, map @glassyui to the hosted registry, then add only the source you need.

pnpm dlx [email protected] add @glassyui/glass-buttonInstallation guide