ValyroUI Русская версия

Spinner

Loading indicator. Free, MIT · Basics › Loading

12-spoke activity indicator — the shape both Geist and Apple use.

Installation

npx valyro-cli@latest add spinner
npx shadcn@latest add https://valyro.xyz/r/spinner.json
npm install valyro-ui

import 'valyro-ui/styles.css';
import { Spinner } from 'valyro-ui';

Props

PropTypeDefault
sizenumber16Pixel size. Default 16.
labelstring | null'Loading'Accessible label; pass null when the spinner is decorative (e.g. inside a busy button).

Related components

Previous: Skeleton · Next: Progress Bar · All Basics