Skip to content

v12.15.0 — motionlang

Latest

Choose a tag to compare

@Manavarya09 Manavarya09 released this 21 May 12:28
· 200 commits to main since this release

motionlang — motion becomes a first-class extractable + shippable artefact.

The motion extractor already captured durations, easings and keyframes — but they only landed as a flat motion-tokens.json nobody opened. This release turns extracted motion into something you can see, ship, and hand to a framework.

Motion Lab — <host>-motion.html

A self-contained, dependency-free interactive page:

  • Easing curves — each drawn as a real cubic-Bezier SVG path with a dot riding a track at that exact animation-timing-function, plus the raw cubic-bezier() and on-page usage count
  • Durations — each as a pulsing bar timed to its real ms
  • Keyframes — every @keyframes block replayed
  • Honours prefers-reduced-motion

Open it in any browser. Like the brand book, but for motion.

Framer Motion presets — <host>-motion.framer.js

Framer Motion is the dominant React animation library, so this is the highest-leverage motion emitter:

  • easings — cubic-bezier arrays, ranked by on-page frequency
  • durations — seconds
  • transitionsbase / fast / slow / spring, ready to spread
  • variantsfade / slideUp / scaleIn / stagger, wired to the extracted timing
import { transitions, variants } from './stripe-com-motion.framer';
<motion.div variants={variants.slideUp} initial="hidden" animate="show" transition={transitions.base} />

Website Motion Lab

Every /gallery/[slug] brand page now renders an interactive Motion Lab section — easing curves drawn in the extracted brand colour, dots riding tracks, a play/pause toggle, and a link to the full standalone page.

Also

  • Mobile navbar fix — the hamburger and Install CTA no longer squish together below 640px.
  • Both emitters exposed via the public designlang/api (motion-lab, framer-motion, agent-prompt renderer ids).

Install

npx designlang@latest stripe.com

Links

🤖 Built with Claude Code.