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-e55033.coline.space. |
| 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. Wells on it ease back with it. |
| 13 |
| 14 | ```ts |
| 15 | await glass.dematerialize({ duration: 160 }); |
| 16 | ``` |
| 17 |