AnimationsProNew

Orbiting Circles

Icons glide around a center on one or more orbits. Handy for an integrations section.

Customize

color
accentColor
highlightColor
pathColor

Based on Orbiting Circles (MIT license) · Terms of use

Props

12 properties
PropertyTypeDefaultDescription
childrenReactNode—Icons or badges that travel along the orbit.
radiusnumber160Orbit radius in pixels.
durationnumber20Seconds for a full turn.
speednumber1Speed multiplier. 2 is twice as fast.
iconSizenumber30Size of an orbiting item in pixels.
reversebooleanfalseSpin counter-clockwise.
pathbooleantrueShow the orbit line.
colorstring"#ffffff"Main colour. Children read it as var(--orbit-c1).
accentColorstring"#525252"Second colour. Children read it as var(--orbit-c2).
highlightColorstring"#e5e5e5"Light highlight colour. Children read it as var(--orbit-c3).
pathColorstring"rgba(255, 255, 255, 0.1)"Colour of the orbit line.
classNamestring—Classes for each orbiting item.

Dependencies

2 required packages

npm install clsx tailwind-merge

Related components

View all