A small ring that turns while something loads, in three sizes.
import { Spinner } from "@meowerse/ui"; · source packages/ui/src/components/Spinner.tsx
variants and states
small
medium
large
props
prop
type
default
required
size
"sm" | "md" | "lg" the spinner's size.
"md"
no
label
string the status label read by assistive tech.
"loading"
no
className
string extra class names to append.
—
no
css custom properties
variable
dark
light
--c-accent
#00ff82
#0a6e3c
--c-line-input
#6a6a70
#7a7973
Classes: .mw-spinner. Set any of these variables on an ancestor (or wrap a subtree in .mw-theme--dark / .mw-theme--light) to restyle just that part of a page.
usage
small
tsx
import { Spinner } from "@meowerse/ui";
<Spinner size="sm" label="loading" />