components/SegmentSpinner
import { … } from 'zidane-ui'ui/src/components/SegmentSpinner.tsx
Components#
SegmentSpinnerComponent#
Renders a busy indicator of five pills that fill left to right, then drain, matching the
terminal UI's segment bar. It is a status element, pure CSS, and static under reduced motion.
function SegmentSpinner(props: SegmentSpinnerProps): ElementParameters
| Name | Type | Description |
|---|---|---|
| props | SegmentSpinnerProps | Component props. |
Returns
ElementProps
| Name | Type | Default | Description |
|---|---|---|---|
| className? | string | Extra classes on the spinner. | |
| label? | string | Accessible name and tooltip. Defaults to the | |
| size? | Size |
| |
| style? | CSSProperties | Inline styles on the root element, merged after the component's own. | |
| tone? | Tone | 'inherit' | Colour of the pills. |
Interfaces#
SegmentSpinnerPropsInterface#
Props for SegmentSpinner.
interface SegmentSpinnerPropsProperties
| Name | Type | Default | Description |
|---|---|---|---|
| className? | string | Extra classes on the spinner. | |
| label? | string | Accessible name and tooltip. Defaults to the | |
| size? | Size |
| |
| style? | CSSProperties | Inline styles on the root element, merged after the component's own. | |
| tone? | Tone | 'inherit' | Colour of the pills. |