ink-ui

⏳ 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

PropTypeDefaultDescription
labelstringβ€”Optional text rendered beside the spinner

The spinner glyph is coloured with colors.accent (#FF8C00).

πŸ’‘ Examples

<Spinner label="Building…" />
<Spinner />

On this page