Ring Orbits
Rings of round images orbiting a centre: each ring turns on its own dashed path, the images stay upright, and outer rings can fade and blur away.
pixikit.com/docs/components/ring-orbits
Customize
Circle size64
Base radius120
Orbit gap100
Rotation duration20s
Row delay0.5s
Direction
Alternate direction
Fade mode
Fade blur
Show paths
Animate
Animation duration0.6s
Animation stagger0.15s
Stagger scale factor0.00
Props
16| Name | Type | Default | Description |
|---|---|---|---|
rows | string[][] | DEFAULT_ROWS | One array of image URLs per ring, innermost first. |
circleSize | number | 64 | Diameter of each image, in pixels. |
baseRadius | number | 120 | Radius of the innermost ring, in pixels. |
orbitGap | number | 100 | Distance between one ring and the next, in pixels. |
rotationDuration | number | 20 | Seconds a ring takes for one full turn. |
rowDelay | number | 0.5 | Seconds each ring waits after the one inside it before entering. |
direction | "clockwise" | "counterclockwise" | "clockwise" | The way the rings turn. |
alternateDirection | boolean | false | Turns every other ring the opposite way. |
fadeMode | "in" | "out" | "none" | "none" | Fades rings toward the outside ('out'), toward the centre ('in'), or not at all. |
fadeBlur | boolean | false | Blurs the faded rings as well. |
showPaths | boolean | true | Draws the dashed path of each ring. |
animate | boolean | true | Plays the entrance: images scale in ring by ring. |
animationDuration | number | 0.6 | Seconds each image takes to scale in. |
animationStagger | number | 0.15 | Seconds between one image and the next on the same ring. |
staggerScaleFactor | number | 0 | Size change per ring: positive grows outer rings, negative shrinks them. |
className | string | "" |