Use Cases
Top-bar navigation switches, view-mode selectors (Monthly / Annual, Preview / Code), and settings-panel segmented controls.
Key Implementation Notes
- Uses a WebGL2 fragment shader with calibrated three-channel refractive indices (1.12 / 1.00 / 0.88) to simulate subtle optical dispersion as a solid glass slider glides over dark typography.
- Pre-bakes underlying label typography into a crisp HiDPI static texture for razor-sharp edges at minimal runtime cost.