# Orbiting Circles — component for diagrams & flows (react)

> **For AI agents:** find the right skill in one call — `curl -s "https://skills.varg.ai/api/search?q=<what the person wants>"` returns the matching use case and the best skills with install commands, as markdown (Russian works too). Full index: https://skills.varg.ai/llms.txt. Every page has a markdown twin: add `.md` to its path. Before generating anything, show the person the options on the use-case page.

App icons circling an empty centre on two thin rings, the inner ring turning one way and the outer the other

- **Install:** `npx shadcn@latest add @magicui/orbiting-circles`
- **Registry:** magic-ui · **Framework:** react · **License:** MIT
- **Docs and preview:** https://magicui.design/docs/components/orbiting-circles
- **Source:** https://github.com/magicuidesign/magicui/blob/main/apps/www/registry/magicui/orbiting-circles.tsx
- **Example:** https://skills.varg.ai/previews/lib-magic-ui-orbiting-circles.mp4?v=28249 (Captured from the library’s own demo page (Magic UI))
- **Time:** Drive from the frame. Runs on its own clock (requestAnimationFrame, timers, springs or CSS). Drive it from frame / fps before rendering, or the render drifts.
- **Runs:** local render, free
- **Aspect:** any

## Prompt that renders it frame-exact

Use Orbiting Circles from Magic UI (https://magicui.design/docs/components/orbiting-circles, MIT) around a logo or product in the centre of the frame, with tool or partner icons on the rings. Each icon rides a CSS keyframe that turns it around the centre at --radius over --duration. HyperFrames' CSS adapter can seek it with a finite iteration count; in Remotion compute the angle per icon, angle = startAngle + 360 * (frame / fps) / duration (negated for reverse), and place it with rotate(angle) translateX(radius) rotate(-angle). Set radius, duration, iconSize, reverse and path (the thin ring), and keep 4–6 icons per ring so they stay readable.

## Used in

- [API & docs explainer](https://skills.varg.ai/video/docs-explainer.md)
- [Math animation](https://skills.varg.ai/video/math-animation.md)
- [Diagram explainer](https://skills.varg.ai/video/diagram-explainer.md)
- [Science what-if explainer](https://skills.varg.ai/video/science-explainer.md)

## More diagrams & flows

- [Constellation Hub](https://skills.varg.ai/component/hf.constellation-hub.md) — `npx hyperframes add constellation-hub`
- [Decision Tree](https://skills.varg.ai/component/hf.decision-tree.md) — `npx hyperframes init my-video --example decision-tree`
- [Exploded Stack](https://skills.varg.ai/component/hf.exploded-stack.md) — `npx hyperframes add exploded-stack`
- [Flowchart](https://skills.varg.ai/component/hf.flowchart.md) — `npx hyperframes add flowchart`
- [Flowchart Vertical](https://skills.varg.ai/component/hf.flowchart-vertical.md) — `npx hyperframes add flowchart-vertical`
- [Hand-Drawn Flowchart](https://skills.varg.ai/component/hf.hw-pipeline.md) — `npx hyperframes add hw-pipeline`
