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 | ### dematerialize(timing?) |
| 8 |
| 9 | - Type: `(timing?) => Promise<void>` |
| 10 | - Group: The glass handle |
| 11 |
| 12 | Fades the glass back to clear and holds it there, for surfaces that leave, over 180ms by default. Wells on it ease back with it. |
| 13 |
| 14 | ```ts |
| 15 | await glass.dematerialize({ scale: 0.98 }); |
| 16 | ``` |
| 17 |