Hub and spokesHub and spokes
Open in MOGA

Component

Hub and spokes

@moga/callouts · MOGA official

Part of the bundle Callouts

One thing at the centre and what connects to it: the hub pops in, spokes draw out to the items around it clockwise from the top, each item popping in as its spoke arrives, and a small pulse runs out along each spoke while it holds. Place it over the whole frame.

npx motioncn-cli add moga/callouts/hub-spokes

Version 1.0.0MIT43 downloads0 favorites

Updated December 3, 2026

Use it in MOGA

Import just this one, without the rest of the bundle. Bundle tokens it uses come with it. Run in your project folder:

npx -y moga hub-import @moga/callouts --items component:hub-spokes

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/moga/callouts/hub-spokes.json

No shadcn setup? This works too

npx motioncn-cli add moga/callouts/hub-spokes

Import it in a page, no build

import HubSpokes from 'https://motioncn.dev/m/moga/callouts/hub-spokes.js';
import preset from 'https://motioncn.dev/m/theme.js';
HubSpokes.mount(document.querySelector('#stage'), { preset, duration: 5 }).play();

React, Remotion and HyperFrames

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