Pixel Button
A black pill button with a spark of amber phosphor running round its rim, sweeping slowly along the long edges and whipping round the ends. Point at it and the spark spreads both ways until the whole rim is lit, the edges glow from inside and a grid of pixels switches on from the middle outwards, each breathing at its own pace, with a dark patch kept behind the label so it stays easy to read. Move away and it powers down while the spark carries on. Set --kl-pix-ink to any colour. Canvas 2D, no dependencies.
- button
- cta
- pixel
- glow
- border
- hover
- canvas
Code
Copy-paste source. No packages to install.
Sign up to copy Pixel Button
Free accounts include one component unlock every month — in all four frameworks.