Component
Shape
@m3e/shape · MOGA official
Any of the M3 Expressive shapes, morphing between two of them; filled, outlined or a ring, and stretched into a bar with round ends.
npx motioncn-cli add m3e/shapeVersion 0.0.1MIT3 downloads0 favorites
Updated December 5, 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 @m3e/shapeUse 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/m3e/shape.jsonNo shadcn setup? This works too
npx motioncn-cli add m3e/shapeImport it in a page, no build
import Shape from 'https://motioncn.dev/m/m3e/shape.js';
import preset from 'https://motioncn.dev/m/theme.js';
Shape.mount(document.querySelector('#stage'), { preset, duration: 5 }).play();React, Remotion and HyperFrames
// React (https://motioncn.dev/r/player-react.json)
<Motion motion={Shape} preset={preset} duration={5} fit />
// Remotion (https://motioncn.dev/r/player-remotion.json)
<MotionClip motion={Shape} preset={preset} />
// HyperFrames (https://motioncn.dev/m/hyperframes.js)
follow(Shape.mount(element, { preset, duration: 5 }), { start: 0 });
