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.3.0. Install: `npm install @colineapp/liquid-glass` |
| 6 |
| 7 | ### circular |
| 8 |
| 9 | - Type: `number` |
| 10 | - Default: `0.8` |
| 11 | - Group: Geometry fields |
| 12 |
| 13 | iOS 27's rim refraction, as a share of the corner radius: each edge shows what lies that far inside it, falling off on a circle over `circularDepth`, so the outermost band holds the inside compressed and mirrored, as a drop of water does, and a line crossing the rim bends into it. iOS 27 reaches 1; 0.8 keeps the mirrored band smooth under Chromium's nearest-pixel displacement. 0 uses the Snell bevel below (bezel, thickness, maxFall, rimShare), as the tab lens does. |
| 14 |