- Location:
sabo/src/components/ui/orbiting-circles.tsx
When to use
- Decorative orbiting motion for hero backgrounds or metrics.
- Keep small and sparse to avoid visual noise.
Usage
sabo/src/components/ui/orbiting-circles.tsx
Key props
ReactNode
The icons or elements to orbit around the center.
number
default:"160"
Distance from center to orbiting elements in pixels.
number
default:"30"
Size of the orbiting elements in pixels.
boolean
default:"false"
Reverse the direction of the orbit.
number
default:"20"
Animation duration in seconds for one complete orbit.
number
default:"0"
Delay in seconds before starting the animation.
number
default:"1"
Animation speed multiplier (higher values make it faster).
boolean
default:"true"
Whether to show the circular path outline.
string
Additional CSS classes applied to the container div.
Styling tip
- Pair with subtle gradients; keep orbits slow (8–16s) for calm motion.