Spinner

An indeterminate CSS ring that inherits the current text colour, plus LoadingDots for a quieter inline pending state.

tsx
import { Spinner, LoadingDots } from "@pestoui/core"

Sizes

LoadingLoadingLoadingLoading

Inherits colour

It’s built from border-current, so it picks up whatever it sits inside — a button label, muted body text, a destructive tint.

Loading Checking connectionLoading Retrying

Loading dots

Three bouncing dots on a staggered delay — use it where a spinning ring would feel too urgent, like a streaming reply.

LoadingLoadingLoadingLoadingAgent is thinking Agent is thinking

Props

PropTypeDefaultDescription
size"xs" | "sm" | "default" | "lg""default"Diameter and border weight. LoadingDots takes the same scale for dot size and gap.
labelstring"Loading"Screen-reader text inside the role="status" element.
classNamestring—Colour is inherited — set text-* on the spinner or any ancestor to retint it.

Pesto UI · 117 documented components