Profile Orbit, animated React component
A profile card with the whole team orbiting it on a tilted ring. Dragging the ring, using the arrows or tapping a face spins that person round to the front, the card slides over to them and their avatar drops in with a bounce, while people at the back of the ring pass under the card.
- Free
- Cards
- Spring
- 3D
Like Profile Orbit? 256 more are in Pro.
Pro unlocks all 256 Pro components, every template and block, and everything we release next. Profile Orbit stays free.
Play with it
Move the controls and watch it change. Copy code gives you a snippet with only the props you changed.
Props
| Prop | Type | Default | What it does |
|---|---|---|---|
| people | ProfilePerson[] | 6 sample people | Each { seed, name, role, email, avatar? }. Without avatar a coloured monogram is drawn; seed is the key and picks the colour. |
| onConnect | (person: ProfilePerson, connected: boolean) => void | — | Called when the Connect button is toggled. |
| onChange | (index: number) => void | — | Called with the index of the person now in the card. |
| autoRotateInterval | number | 2800 | Time between autoplay steps, in ms. |
| hint | string | "Drag the ring or tap a face." | Caption under the orbit. An empty string hides it. |
| autoplay | boolean | false | Turns the ring to the next person until someone touches it. |
| className | string | — | Extra classes for the root. |
Add it to your project
- 1
Set up your project once
You need a Next.js project with Tailwind CSS and the
@/import alias. In its root folder, run this once. It createscomponents.jsonand thecn()helper insrc/lib/utils.ts:npx shadcn@latest init -d
Starting from nothing? The Quick Start walks through the whole thing.
- 2
Connect the registry
Run this once per project. It writes the Nexus UI entry into
components.jsonfor you:npx shadcn@latest registry add "@nexus-labs=https://www.nexus-ui.com/api/registry/{name}"Type it exactly as shown.
{name}is filled in by the CLI with the component you ask for, so you never replace it.
- 3
Add the component
Run this from your project root. It adds the component, the helpers it imports and its npm packages.
npx shadcn@latest add @nexus-labs/profile-orbit
- 4
Check what was added
With a project made as in the Quick Start (a
src/folder), these files land in it:components/profile-orbit/index.tsprofile-orbit.tsx - 5
Copying by hand? Skip the registry
Instead of steps 2 and 3 you can copy the files yourself, with no registry and no API key. Step 1 still applies, so that
cn()exists. Install the packages:npm install framer-motion
Then show the source and create each file at the path it gives:
- 6
Use it in a page
Installing only adds the files. Import the component in a page and render it. The Usage tab on the preview shows a fuller example with props:
// src/app/page.tsx import { ProfileOrbit } from "@/components/profile-orbit"; export default function Page() { return ( <main> <ProfileOrbit /> </main> ); }
Like Profile Orbit? 256 more are in Pro.
Pro unlocks all 256 Pro components, every template and block, and everything we release next. Profile Orbit stays free.
About Profile Orbit
Profile Orbit is an interactive profile carousel where five avatar cards orbit a central profile display. Clicking any orbiting avatar, the navigation arrows, or pressing arrow keys cycles through people with a smooth spring fade animation. The central card displays the full profile — name, role, quote, and bio. Use it for team sections, advisor profiles, and speaker lineups where multiple people need to be presented without a grid of equal-weight cards.
Good for
- Team and founder profile sections
- Advisor and investor profile displays
- Speaker and event participant showcases
- Customer spotlight sections