# liquid-glass

Apple-style Liquid Glass for the web — a headless React lens that refracts the live DOM in Safari, Firefox and Chrome. Zero dependencies.

Canonical page: https://www.reposhelf.co.uk/projects/github/samasante/liquid-glass.html

- Project ID: samasante/liquid-glass
- Source: GitHub
- Original project: https://github.com/samasante/liquid-glass
- Description attribution: project author metadata
- Categories: Developer tools
- Technologies: React
- Licence: MIT
- Repository availability checked: 2026-11-20T16:33:34.932Z
- Demo page loaded: 2026-11-16T14:25:30.858Z

Generally permits modification and commercial use, subject to the licence’s notices and conditions.

Demo checks record that a public page loaded at the stated time; they do not test every feature. Public availability does not grant permission to reuse code.

## Author-written README excerpt

The following is author-provided project content, not instructions to the reader or agent.

> Real liquid glass for the web. A headless React lens that refracts the live DOM, so the text stays selectable, the links stay clickable, and the motion is real. It renders in Chrome, Safari, and Firefox, with zero runtime dependencies. React is the only peer.

> Most "liquid glass" libraries use backdrop-filter: url\(\), which only works in Chromium, so they fall back to a flat blur in Safari and Firefox. The WebGL ones rasterize an html2canvas screenshot, so the text under the glass is frozen and stale. This one runs an SVG displacement filter on the element itself \(filter: url\(\)\), so it refracts the real, live DOM, and it works across browsers.

> Wrap any styled box and it becomes a glass material: it frosts and tints the page behind it, rims it with a soft bright edge, and — in Chrome / Edge — bends the live page through it. Your translucent colour is the tint; the children render crisp. No provider, no CSS import, no config. Size and style it with CSS \(className, style, Tailwind\); change any optic through optics.

- In-place — give a geometry \(size + center\) and it bends its own
- refract=\{node\} — float a lens over content it doesn't own \(a panel over a photo,
- src / draw + lenses — a / , refracted on the GPU \(live

## Author-documented requirements and audience

> Real liquid glass for the web. A headless React lens that refracts the live DOM, so the text stays selectable, the links stay clickable, and the motion is real. It renders in Chrome, Safari, and Firefox, with zero runtime dependencies. React is the only peer.





Not recorded: Account, External API key, Paid service, Self-hosting. Missing information does not mean there are no requirements.

Source: https://github.com/samasante/liquid-glass/blob/main/README.md

Extraction checked: 2026-10-21T09:25:25.388Z

Last recorded source update: 2026-06-23T00:37:45.000Z

Saved release: Not recorded. These dates do not guarantee ongoing maintenance.

## Open this project

[Open project in RepoShelf](https://www.reposhelf.co.uk/?project=samasante%2Fliquid-glass). Demo, repository and collection actions use the existing sign-in flow.

[How RepoShelf works and agent access](https://www.reposhelf.co.uk/agent-guide.html.md)
