11:13:10:50
🎉 BLACK FRIDAY SALE - Get 25% OFF on all Pro plans, Use BLACKFRIDAY25 at checkoutUpgrade Now

Glass Switch Premium

A three.js on/off switch: a carbon-fibre puck slides along a real glass tube, and as it settles at the on end, glowing liquid floods the tube behind it with a soft slosh. The moon on the puck gives way to the sun. Tap again to drain it.

  • Triggerclick
  • Duration1.41s
  • CategoryControls
  • ExportsReact · HTML · LLM prompt · Figma JSON
Get the Figma plugin

Play, customize and copy JSON or the LLM prompt for free. The HTML and React code for this premium card come with Plus and Pro.