Spinner

A loading spinner component that indicates an in-progress operation.

Overview

The Spinner component renders a compact animated loading indicator. It inherits currentColor, so the parent component owns the foreground color and interaction state.

Usage

import { Spinner } from "@tilt-legal/cubitt-components/spinner";
<Spinner />

Examples

Sizes

Inline

API Reference

Spinner

Extends the animated icon props used by the underlying loader icon.

PropTypeDefaultDescription
size"xs" | "sm" | "md" | "lg" | "xl""md"Size of the spinner.
classNamestring-Additional classes for the spinner.
...propsAnimated loader icon props-Additional SVG icon props.

On this page