Spinner
The spinner is a feedback component to indicate a loading state.
Import
Importimport { Spinner } from '@backyard-ui/core';Usage
UsageAppearance
AppearanceUse the appearance or color prop to change the visual appearance.
Size
SizeUse the size prop to increase the visual size.
API Reference
API Reference- appearanceDescription The Spinner appearanceType
"success" | "critical" | "info" | "warning" | "primary" | "secondary" | "tertiary" - colorDescription The Spinner colorType
"black" | "white" | "current"Defaultcurrent - sizeDescription The Spinner sizeType
"xs" | "sm" | "md" | "lg" | "xl"Defaultlg