Shader Tint
A two-layer WebGL light that glides between marks, colors them and swells on press.
Last updated: November 28, 2026
Installation
npx smoothui-cli add shader-tintUsage
Pass a list of marks and three hexadecimal shader stops per mark. Set dark to match your canvas so the upper layer tints the marks rather than painting over them.
Accessibility
Each mark is a labelled button. Focus, click, tap and arrow keys can change the active mark. Reduced motion swaps the glow without a glide or swirl. The marks stay usable without WebGL.
Props
Created by
Powered by
© 2026 SmoothUI