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 | ### maxFall |
| 8 |
| 9 | - Type: `number (0–1)` |
| 10 | - Default: `0.45` |
| 11 | - Group: Geometry fields |
| 12 |
| 13 | Rim bend: the steepest the rim's shift may fall per pixel inward. Where it falls, the rim magnifies what is beneath by 1 / (1 − maxFall), at most 1.8 times by default, so lower values bend more gently and keep text crossing the rim from smearing. The tab lens uses 0.22. Past 1 the lens folds content into mirrored echoes. |
| 14 |