# Orbiting Circles

> Turn a set of items around a shared center, with optional orbit rings.

Source: https://www.honestui.com/docs/animated/orbiting-circles

```tsx
import type { ReactNode } from "react";
import { Cloud, Code, Database, Globe, Lock, Server, Terminal, Zap } from "honestui/icons";

import { OrbitingCircles } from "@/registry/default/animated/orbiting-circles";

function Chip({ children }: { children: ReactNode }) {
  return (
    <span className="flex size-full items-center justify-center rounded-full border border-border bg-card text-foreground shadow-sm [&_svg]:size-4">
      {children}
    </span>
  );
}

export function OrbitingCirclesDemo() {
  return (
    <div className="relative flex h-80 w-full max-w-md items-center justify-center overflow-hidden">
      <span className="z-10 text-sm font-medium text-foreground">Integrations</span>
      <OrbitingCircles radius={64} duration={18} iconSize={30}>
        <Chip><Code /></Chip>
        <Chip><Terminal /></Chip>
        <Chip><Zap /></Chip>
      </OrbitingCircles>
      <OrbitingCircles radius={128} duration={30} iconSize={36} reverse>
        <Chip><Cloud /></Chip>
        <Chip><Database /></Chip>
        <Chip><Globe /></Chip>
        <Chip><Lock /></Chip>
        <Chip><Server /></Chip>
      </OrbitingCircles>
    </div>
  );
}

```

## Overview [#overview]

Orbiting Circles spaces its children evenly around a circle and turns them slowly around the center. Use it to show integrations, team members, or supported platforms around a central product. Render several with different radii, durations, and directions inside one box to build concentric rings. Items stay upright as they travel.

## Installation [#installation]

<CliBlock commands="[&#x22;orbiting-circles&#x22;]" />

## Usage [#usage]

```tsx
import { OrbitingCircles } from "@/components/animated/orbiting-circles"

<div className="relative flex h-80 items-center justify-center">
  <span>Integrations</span>
  <OrbitingCircles radius={64} iconSize={30}>
    <GithubIcon />
    <SlackIcon />
  </OrbitingCircles>
  <OrbitingCircles radius={128} reverse duration={30}>
    …
  </OrbitingCircles>
</div>
```

The orbit is centered in its nearest positioned ancestor. Keep that box at least `2 × radius + iconSize` wide and tall, or clip it with `overflow-hidden`.

## Accessibility [#accessibility]

The ring is decorative. Items remain in the document and keep their own accessible names, but moving targets are hard to click, so avoid putting the only path to an action on an orbit. When reduced motion is requested, items stop in their evenly spaced positions.

## API Reference [#api-reference]


  ### `children`

type: `ReactNode`

Items placed on the orbit.

  ### `radius`

type: `number` · default: `120`

Orbit radius in px.

  ### `duration`

type: `number` · default: `24`

Seconds per revolution.

  ### `reverse`

type: `boolean` · default: `false`

Orbits counterclockwise.

  ### `path`

type: `boolean` · default: `true`

Draws the orbit as a faint ring.

  ### `iconSize`

type: `number` · default: `32`

Width and height of each item slot in px.

  ### `startAngle`

type: `number` · default: `-90`

Angle of the first item at rest, in degrees.

  ### `pathClassName`

type: `string`

Classes for the orbit ring.

  ### `className`

type: `string`

Classes for the orbit layer.
