Getting Started
Templates
Components
Special Animations
Text Animations
Backgrounds
import { FaAws, FaReact } from "react-icons/fa"
import { OrbitRotation } from "@/components/eldoraui/orbit-rotation"<OrbitRotation
icons={[
{ Icon: FaReact, color: "#61DAFB", name: "React" },
{ Icon: FaAws, color: "#FF9900", name: "AWS" },
]}
orbitCount={2}
size="md"
speed="medium"
/>| Prop | Type | Default | Description |
|---|---|---|---|
icons | OrbitIcon[] | - | Array of icons to display in orbits |
orbitCount | number | 3 | Number of orbit rings |
orbitGap | number | 8 | Gap between orbits in rem units |
centerIcon | OrbitIcon | - | Icon to display in the center |
className | string | - | Additional CSS classes |
size | "sm" | "md" | "lg" | "md" | Size of the component |
speed | "slow" | "medium" | "fast" | "medium" | Animation speed |
| Prop | Type | Description |
|---|---|---|
Icon | React.ComponentType | The icon component to render |
color | string | The color of the icon |
name | string | Optional name for accessibility |