V-/Srcv0.1.0beta

// real refraction, not blur

Glass that bendswhat's behind it.

vsrc is a shadcn-compatible React library built on a displacement-map optics engine. Chromium refracts with a faint prism fringe at the rim. Safari and Firefox fall back to frosted glass. Reduced-transparency users get solid panels. Same components everywhere.

Get started

// glass-surface

The rim bends the type drifting behind this panel.

chromium → refract
safari / firefox → frosted
reduced transparency → solid

// live — every element above carries data-vsrc-glass with its active mode