Skip to content
ProLifetime access for $199, paid once, every future release included
Truffle UI

Orbiting Circles

Pro

Revolves items around a center while keeping each one upright.

Installation

pnpm dlx shadcn@latest add @viewport/orbiting-circles

First time? Add the @viewport registry to components.json. Setup takes one minute.

Usage

The code behind the preview above comes with Truffle Pro.

Props

PropTypeDefault
radiusnumber

Orbit radius in pixels.

90
durationnumber

Seconds for one revolution.

24
reverseboolean—
pathboolean

Draw the orbit path.

true
itemSizenumber

Size of each orbiting item in pixels.

40
classNamestring—
children*React.ReactNode—

Accessibility

  • Items stay upright and readable throughout the orbit.
  • Pauses under reduced motion.
  • Pure CSS animation.