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.
| Prop | Type | Default | Description |
|---|---|---|---|
size | "xs" | "sm" | "md" | "lg" | "xl" | "md" | Size of the spinner. |
className | string | - | Additional classes for the spinner. |
...props | Animated loader icon props | - | Additional SVG icon props. |