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.
| 1 | # @colineapp/liquid-glass |
| 2 | |
| 3 | > Liquid Glass for the web: the rim refraction, light and motion of iOS 27's glass on any rounded element, with React bindings, menus that pour out of their button, and segmented tabs whose thumb clears into a lens. MIT. |
| 4 | |
| 5 | Version 0.2.0. Install: `npm install @colineapp/liquid-glass` |
| 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 |