Loader
Spinning glyph for in-flight generation.
Import
tsx
import { Loader } from "@cronus-ui/ui";
bash
npx cronus-ui add loader
Examples
API Reference
Generated from the component's exported types.
LoaderLabels
| Prop | Type | Default | Description |
|---|---|---|---|
loading* | string | — | — |
LoaderProps
Extends HTMLAttributes<HTMLDivElement>
| Prop | Type | Default | Description |
|---|---|---|---|
ref | Ref<HTMLDivElement> | — | Ref forwarded to the underlying DOM node. |
size | number | 16 | Pixel size of the spinner glyph. |
labels | Partial<LoaderLabels> | — | Override default English strings. |