Loading
Loading indicators communicate that content or an action is in progress.
Installation
npx jsx-daisyui add loadingDefault
loading-default
Variants
loading-variants
Sizes
loading-sizes
Colors
loading-colors
Props
Loading
| Prop | Type | Default | Description |
|---|---|---|---|
variant | 'spinner' | 'dots' | 'ring' | 'ball' | 'bars' | 'infinity' | 'spinner' | The shape and animation variant of the loading indicator. |
size | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'md' | The size of the loading indicator. |
color | 'neutral' | 'primary' | 'secondary' | 'accent' | 'info' | 'success' | 'warning' | 'error' | - | The color of the loading indicator. |