Spinner

A simple spinner for displaying loading state

Installation

1

Paste this code into your project

2

Update import paths as needed

Usage

Size

With text and custom style

Loading...Loading with custom style

Toggle spinner

Properties

PropertyTypeDefault
className
string
size
'small' | 'medium' | 'large'
medium
show
boolean
true
children
React.ReactNode

Spectrum Pro

Stop building from scratch.
Ship faster with Pro templates.

Premium Next.js templates built on Spectrum UI. Dark. Animated. Production-ready.