Shape beatShape beat
Open in MOGA

Component

Shape beat

shape-beat · MOGA official

A kit shape morphing through M3 shapes on a beat, each morph on the expressive spring, with a typed caption

npx motioncn-cli add shape-beat

Version 1.0.1MIT12 downloads0 favorites

Updated December 3, 2026

Use it in MOGA

Search for it under Online in the MOGA library, or run this in your project folder:

npx -y moga hub-import shape-beat

Use it outside MOGA (Motioncn)

Free, no account. It is plain web code that plays in a web page, React, Remotion and HyperFrames, drawing the same frames MOGA renders.

Add it to your project with shadcn

npx shadcn@latest add https://motioncn.dev/r/shape-beat.json

No shadcn setup? This works too

npx motioncn-cli add shape-beat

Import it in a page, no build

import ShapeBeat from 'https://motioncn.dev/m/shape-beat.js';
import preset from 'https://motioncn.dev/m/theme.js';
ShapeBeat.mount(document.querySelector('#stage'), { preset, duration: 5 }).play();

React, Remotion and HyperFrames

// React (https://motioncn.dev/r/player-react.json)
<Motion motion={ShapeBeat} preset={preset} duration={5} fit />
// Remotion (https://motioncn.dev/r/player-remotion.json)
<MotionClip motion={ShapeBeat} preset={preset} />
// HyperFrames (https://motioncn.dev/m/hyperframes.js)
follow(ShapeBeat.mount(element, { preset, duration: 5 }), { start: 0 });