Zephora UI

Feedback

Spinner

Indeterminate loading indicator with four sizes and semantic colors; "current" inherits the surrounding text color.

Import

import { Spinner } from "@zephora/react";

Examples

Sizes

Loading…Loading…Loading…Loading…

Colors

`color="current"` inherits the text color of the parent.

Loading…Loading…Loading…Loading…Loading purple

API

Spinner props

PropTypeDefaultDescription
size"xs" | "sm" | "md" | "lg""md"Diameter scale.
color"primary" | "success" | "warning" | "danger" | "current""primary"Semantic color; "current" inherits the text color.
labelstring"Loading…"Screen-reader announcement.
unstyledbooleanfalseHeadless mode — skips Zephora styling.