β³ Spinner
Animated dots spinner in accent colour, with an optional dimmed label.
<Spinner> renders an animated dots spinner in the accent colour, with an optional dimmed label beside it. It builds on ink-spinner and is ideal for indicating in-progress work.
import { Spinner } from "@kud/ink-ui";π§ Props
| Prop | Type | Default | Description |
|---|---|---|---|
label | string | β | Optional text rendered beside the spinner |
The spinner glyph is coloured with colors.accent (#FF8C00).
π‘ Examples
<Spinner label="Buildingβ¦" /><Spinner />