Components / Layout
Orbiting Circles
Icons orbiting a center point on concentric paths, each staying upright.
⚛️
🎨
🚀
✨
🧩
⚡
H
Installation
Requires React 18+ and Tailwind CSS.
- 1
Install dependencies
$ npm install motion - 2
Add the component
Copy the code from the Code tab above into
components/ui/orbiting-circles.tsx. - 3
Use it
example.tsximport { OrbitingCircles } from "@/components/ui/orbiting-circles"; const bubble = (emoji: string) => ( <span className="grid size-10 place-items-center rounded-full border border-zinc-200 bg-white text-lg shadow-sm dark:border-white/10 dark:bg-zinc-900"> {emoji} </span> ); export default function OrbitingCirclesDemo() { return ( <OrbitingCircles center={ <span className="grid size-14 place-items-center rounded-2xl bg-gradient-to-br from-orange-400 to-rose-500 text-xl font-bold text-white shadow-lg shadow-rose-500/30"> H </span> } orbits={[ { radius: 60, duration: 12, items: ["⚛️", "🎨"].map(bubble) }, { radius: 115, duration: 22, reverse: true, items: ["🚀", "✨", "🧩", "⚡"].map(bubble) }, ]} /> ); }
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| orbits | { radius; items: ReactNode[]; duration?; reverse? }[] | — | One entry per ring. |
| center | ReactNode | — | Content in the middle. |
| showPaths | boolean | true | Draw the dashed orbit paths. |