Spinner
Usage
API Reference
| Input | Type | Default |
|---|---|---|
| size | SpinnerVariants['size'] | 'md' |
| label | string | '' |
| class | string | '' |
CVA variants
| Prop | Options | Default |
|---|---|---|
| size | sm | md | lg | md |
Component Source
Install via CLI:
npx @voltui/cli add spinnerTypeScript
Loading editor…
Copy this code to your project. The component uses class-variance-authority.