Spinner

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

Overview

The Spinner component provides a visual indicator for loading states and asynchronous operations.

Usage

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

Examples

Sizes

The Spinner comes in five size variants: xs, sm, md (default), lg, and xl.

Inline

Display a spinner inline with text.

API Reference

Spinner

Extends all props from LoaderAnimatedIcon.

PropTypeDescription
size"xs" | "sm" | "md" | "lg" | "xl"Size of the spinner. Defaults to "md".
classNamestringAdditional CSS classes for styling.

On this page