OrbitingPlanets

<OrbitingPlanets>CSS Modules

Luminous ice-cyan orbital backdrop on native WebGL — soft bloom halos, additive orbit ribbons, pastel spheres with depth occlusion, optional camera parallax. Transparent canvas by default; static CSS fallback when WebGL is unavailable.

InstallationColoxo CLI
npx coloxo add orbiting-planets
ES Module ImportPlayground / npm package
import { OrbitingPlanets } from '@coloxo/ui/visuals';

1. Quick demo

Reference-matched defaults with soft bloom. Open the Blocks page for live controls and variants.

Ice-cyan orbital system

Soft bloom, luminous ribbons, pastel worlds — parent owns the midnight background.

2. Blocks showcase

See the composed hero, live controls, and theme variants on the Blocks page.

3. Props

NameTypeDefaultDescription
centralColorstring#8ECBFFColor of the central body.
centralSizenumber0.92Central body scale (0.35–1.2).
planetsOrbitingPlanetConfig[]—Orbiting bodies (max 16). Defaults to a curated pastel set of 6.
showOrbitPathsbooleantrueDraw luminous elliptical orbit ribbons.
orbitColorstring#67E8F9Orbit path color.
orbitOpacitynumber0.55Orbit path opacity (0–1).
backgroundColorstring#050816Clear color when transparent is false.
transparentbooleantrueAlpha-cleared canvas so the parent controls background.
speednumber1Global orbit speed multiplier (0.1–3).
lightingIntensitynumber0.78Lambert / specular strength (0–1).
glowIntensitynumber0.85Global halo / bloom strength (0–1).
interactionbooleanfalseEnable damped camera parallax.
interactionStrengthnumber0.35Parallax strength (0–1).
quality"low" | "medium" | "high"mediumSphere tessellation, orbit segments, DPR, and bloom (bloom off on low).
pausedbooleanfalseStop continuous animation.
respectReducedMotionbooleantrueHonor prefers-reduced-motion (static frame, no parallax).
fallback"static"staticUsed when WebGL is unavailable.