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 | ### refraction |
| 8 |
| 9 | - Type: `boolean` |
| 10 | - Default: `true` |
| 11 | - Group: Glass options |
| 12 |
| 13 | Bend the page at the rim. Rim refraction needs SVG filters in backdrop-filter, which only Chromium renders; Safari and Firefox keep the material without the bend either way. |
| 14 |
| 15 | ```tsx |
| 16 | <LiquidGlass refraction={false} /> |
| 17 | ``` |
| 18 |