AnimationsNew

Circling Elements

Items are spread evenly on a circle and orbit the center while staying upright. Good for logos, avatars and icons.

Customize

color
accentColor
highlightColor

Based on Circling Elements (MIT license) ยท Terms of use

More in Pro

View all

Props

10 properties
PropertyTypeDefaultDescription
childrenReactNodeโ€”The items that orbit.
radiusnumber100Circle radius, in pixels.
durationnumber10Time for one full turn, in seconds.
easingstring"linear"CSS easing of the rotation.
direction'normal' | 'reverse'"normal"Direction of rotation.
pauseOnHoverbooleanfalsePause the rotation on hover.
colorstring"#ffffff"Main colour. Children read it as var(--circling-c1).
accentColorstring"#525252"Second colour. Children read it as var(--circling-c2).
highlightColorstring"#e5e5e5"Light highlight colour. Children read it as var(--circling-c3).
classNamestringโ€”Extra classes.

Dependencies

3 required packages

npm install motion clsx tailwind-merge

Related components

View all