Liquid Glass for the web: the rim refraction, light and motion of iOS 27 glass on any rounded element. React bindings and pill tabs. MIT.
| 4 |
| 5 | Version 0.1.0. Install: `npm install @colineapp/liquid-glass`. npm: https://www.npmjs.com/package/@colineapp/liquid-glass. Playground: https://liquid-glass.coline.space. |
| 6 |
| 7 | ### variant |
| 8 |
| 9 | - Type: `"regular" | "clear" | "lens"` |
| 10 | - Default: `"regular"` |
| 11 | - Group: Glass options |
| 12 |
| 13 | `regular` diffuses and evens out the page so text on the glass stays legible over anything. `clear` only bends and lights the page, for glass over media. `lens` is the clear lens a control lifts into; pair it with `geometry: LENS_GEOMETRY`. |
| 14 |
| 15 | ```tsx |
| 16 | <LiquidGlass variant="clear" /> |
| 17 | ``` |
| 18 |