Skip to content

Eclipse Orbit

A shadowed sphere wrapped in fine orbital rings and warm rim light.

LIVE PREVIEWInteract with the component
Just React. No extra dependencies.

Copy the component and its CSS module into your project.

CSS Modules

Usage

Matches your current playground settings.

jsx
import EclipseOrbit from "./EclipseOrbit";
export default function Example() {
return (
<EclipseOrbit
color={"#f2bc8f"}
background={"#100f14"}
size={230}
speed={20}
tilt={-28}
minHeight={420}
/>
);
}

Using Eclipse Orbit

Use size to fit the central sphere within the available section. tilt changes the angle of the surrounding rings.

Keep any children readable against the dark centre. minHeight controls the surrounding background independently of the sphere size.

Props

NameTypeRequiredDefaultDescription
colorstringNo"#f4c698"Rim, ring, and orbiting particle colour.
backgroundstringNo"#100f14"Background CSS colour.
sizenumberNo210Preferred sphere diameter in pixels, capped to 55% of the container.
speednumberNo20Orbit duration in seconds.
tiltnumberNo-28Scene rotation in degrees.
minHeightnumber | stringNo380Minimum height in pixels or a CSS length.
childrenReactNodeNoundefinedOptional content above the orbital scene.
classNamestringNo""Additional CSS classes merged with the component styles.
styleCSSPropertiesNoundefinedInline styles for sizing, typography, and visual overrides.

Related components

Lava Lamp

Backgrounds

Warm liquid forms merge and drift inside a softly lit glass lamp.

Helix Field

Backgrounds

Two strands of shaded particles rotate around fine connecting rungs.

Wave Lattice

Backgrounds

A fine perspective mesh drifts over a sculpted wave surface.

Kinetic Mobile

Backgrounds

Suspended discs, rings and counterweights sway on fine connecting rods.