Save the source
Download motion.css and motion.js into a lib folder. No build step or package install.
Show a signal, a process, or a change of state.
Preview four modules, adjust the speed, and copy the source.
Download motion.css and motion.js into a lib folder. No build step or package install.
Use the Code tab for a small integration snippet. Or choose Copy HTML for a complete page with source included.
Set speed, pause playback, or theme the CSS tokens. Call destroy() when the view is removed.
Every module uses the same controls. System reduced-motion settings are always respected.
const motion = FlowstageMotion.mount(container, {
type: 'path-pulse',
speed: 1,
autoplay: true
});
motion.pause();
motion.play();
motion.setSpeed(0.5);
motion.setReducedMotion(true);
motion.destroy();