How it's built
A 12 by 10 grid of CSS 3D cubes (near-square and smaller on tablets and phones) with side faces only (no top or bottom faces, one backing plane instead), which keeps it near 60 fps. The pointer position turns the cubes under it with GSAP.
Picture fades and the hover shade are opacity tweens on the face layers, not inherited CSS variables. Face tones come from the theme as CSS variables, and depths are em values scaled by the root font size.
Original designincredibles.dev
Scaling
Every length in the piece is written in em, not px: sizes, gaps, radii, strokes, even how far things move. An em is the font size of the element it sits in, so the whole piece is measured from one number, the font size of its wrapper.
Leave it at 16px and 1em is 16px; set the wrapper to 12px and everything shrinks to 0.75x together. And since each part is measured from the font size it sits in, you can size one part on its own: give it its own font size and only that part changes, still in proportion. In the figure the knob is the wrapper's font size: the tongs' cells are 1em each, and the piece in its wrapper grows and shrinks with them.
// 12px = 0.75x, 24px = 1.5x
<div style={{ fontSize: 12 }}>
<CubeMesh />
</div>