43 Pro components and page blocks

Get Pro

Spinner

Preview

Customize

Size24px
Thickness2.00
Speed1.0×

Usage

import { Spinner } from "@/components/uibrik/spinner/spinner";

<Spinner />

Installation

npx shadcn@latest add https://uibrik.com/r/spinner.json
Adds the files to components/uibrik/spinner and installs motion. With the @uibrik namespace set up: npx shadcn@latest add @uibrik/spinner.

Props

Spinner
size
Type number
24
Width and height.
thickness
Type number
2
Stroke width on the 24-unit grid; scales with size.
speed
Type number
1
Tempo multiplier.
variant
Type "ring" | "radial" | "dots" | "bars" | "orbit"
"ring"
Which indicator. All share size, stroke and tempo.
label
Type string
"Loading"
Read out to screen readers.
className
Type string
–
Classes for the wrapper. Colour comes from the text colour.