Light-Up Bento Grid

Motion Components · Vol. 2

Component

Light-Up Bento Grid

Seven keys in a three.js scene light one after another like a backlit keyboard. Press a key to dip it, flood the table with its colour and spray sparks; the real buttons sit on top.

Variants

Sizes and states, all built from the same markup.

Compact (4 tiles, lit)
Compact (unlit)
Disabled

Usage

Paste the markup, include assets/css/tokens.css and assets/css/tailwind.css, then run the script from this page.

Accessibility