@k8ordo/ui

Spinner

A spinner that shows something is loading.

Import

ts
import { Spinner } from '@k8ordo/ui';

Usage

Loading
tsx
<Spinner />

Sizes

LoadingLoadingLoading
tsx
<Spinner size="sm" />
<Spinner size="md" />
<Spinner size="lg" />

Props

label?
Type: string
Default: -
size?
Type: 'sm'|'md'|'lg'
Default: 'md'
PropTypeDefault
label?string-
size?'sm'|'md'|'lg''md'

Inherited attributes (except the ones set internally): OutputHTMLAttributes<HTMLOutputElement>

The wording this component draws (labels, placeholders, and so on) comes from the message dictionary unless a prop sets it. To replace it, see: i18n

k8ordo

React libraries that use Baseline features without holding back.