Cube: Four Motions, No Dials

Cube is a zero-dependency JavaScript animation library that ships four fixed motions—rise, leave, morph, and reveal—each with preset duration, curve, and stagger. Built on the Web Animations API and IntersectionObserver, it covers entrances, exits, state changes, and scroll reveals without configuration. React, Vue, Solid, and Svelte adapters are optional. For timelines, gestures, or layout animation, the docs suggest reaching for Motion or GSAP instead.

They give you every dial. Cube gives you four decisions already made.

More from this day

2026-09-20