buttons
3D cube that explodes on click
A six-sided CSS cube with gradient faces floats with a gentle sway animation; on click it shrinks while fourteen fragments (cubic shards and small spheres) fly out to random 3D offsets with staggered delays, then return when the toggle is released.
See it live and copy its promptWhat you can adjust
- Cube size
- Fragments
- Explosion duration
How this catalog works
Every component ships with its reproduction prompt: the text you paste into an AI builder to get exactly this piece. The values above are editable, and the prompt you copy carries the ones you chose, so what gets generated is what you were looking at.
