Spinner
A loading spinner component with multiple variants.
Preview
Loading...
with variants
Loading...Loading...Loading...
Installation
Use the CLI to add this component to your project.
Usage
tsx
5 linesCopy
Variants
Default
Loading...
Dotted
Loading...
Bars
Pulse
Loading...
Gradient
Sizes
Loading...Loading...Loading...Loading...
Props
| Prop | Type | Default | Description |
|---|---|---|---|
variant | string | default | dotted | bars | pulse | gradient | The visual style of the spinner |
size | string | default | The size of the spinner |
loading | boolean | true | Whether the spinner is visible |