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 | ### <LiquidGlassTabLabel /> |
| 8 |
| 9 | - Type: `{ children: string }` |
| 10 | - Group: React |
| 11 |
| 12 | A tab's text, semibold while its tab is selected (or a drag would land on it), as iOS 27's segmented control sets it, without the tab changing width. |
| 13 |
| 14 | ```tsx |
| 15 | <button role="tab" aria-selected={selected}><LiquidGlassTabLabel>Week</LiquidGlassTabLabel></button> |
| 16 | ``` |
| 17 |