className
: string (optional) - Additional CSS classesvariant
: ‘primary’ | ‘secondary’ | ‘success’ | ‘warning’ | ‘danger’ (optional) - Color variant of the spinnersize
: ‘xs’ | ‘sm’ | ‘md’ | ‘lg’ (optional) - Size of the spinnerxs
: 16px - For inline or compact UI elementssm
: 20px - For buttons or small containersmd
: 32px - Default size, for general uselg
: 40px - For prominent loading statesprimary
: Brand color, default optionsecondary
: Neutral color for secondary actionssuccess
: Green for success stateswarning
: Yellow for warning statesdanger
: Red for error states