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. Source: https://upstream.codes/coline/liquid-glass. Playground: https://liquid-glass.coline.space. |
| 6 |
| 7 | ### hue |
| 8 |
| 9 | - Type: `string | null` |
| 10 | - Default: `null` |
| 11 | - Group: Glass options |
| 12 |
| 13 | A colour whose hue the glass takes on, like tinted iOS glass: each pixel beneath shifts toward the hue at its own brightness, so colours behind keep their chroma. Any concrete CSS colour; neutral colours leave the glass untinted. |
| 14 |
| 15 | ```tsx |
| 16 | <LiquidGlass hue="#3d6bff" /> |
| 17 | ``` |
| 18 |