Skip to content

Orbit Loader

Three tilted rings turn around a pin of light while content loads.

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 OrbitLoader from "./OrbitLoader";
export default function Example() {
return (
<OrbitLoader
size={110}
color={"#cebae2"}
speed={2}
label={"Preparing your canvas"}
loading={true}
children={"Ready to create."}
/>
);
}

Using Orbit Loader

Use label to describe the operation being performed. size sets the loader's footprint and color sets the ring colour.

Use loading to switch between the loader and the content supplied through children. Keep important progress information in readable text as well.

Props

NameTypeRequiredDefaultDescription
sizenumberNo90Outer diameter in pixels.
colorstringNo"#d7c0e7"Ring and centre colour.
speednumberNo2Base revolution duration in seconds.
labelstringNo"Loading"Accessible loading status, also displayed beneath the rings.
loadingbooleanNotrueShow the loader when true; render children when false.
childrenReactNodeNoundefinedContent to reveal when loading completes.
classNamestringNo""Additional classes merged with component styles.
styleCSSPropertiesNoundefinedInline styles for caller-defined sizing, typography, and appearance.

Related components

Fine radial segments illuminate around a precise numeric readout.

Signal Bars

Feedback

Sculpted signal bars rise and fall in a staggered rhythmic wave.

A quiet spectrum of rounded bars rises and falls in a travelling rhythm.

Fluid Meter

Feedback

A circular gauge fills with two gently moving layers of liquid.