ZUI

Search documentation

Find a page or a heading.

Spinner

A circle that turns while something loads, announced as a busy progress bar and still when the system reduces motion.

Installation

bash

The CLI writes components/ui/spinner.tsx, installs Icon and Utils, and adds lucide-react-native.

Usage

tsx
tsx

API reference

Spinner

Takes every prop of Icon except as, plus:

It is announced as a busy progress bar named by aria-label. className styles the icon, which is 16px by default. Inside a Button it takes the button's label colour.

It stands still while the system's reduce motion setting is on, and while that setting is being read.