Loading...
Installation
Install the following dependencies:
Copy and paste the following code into your project.
Loading...
Update the import paths to match your project setup.
Composition
<app-spinner>
Examples
Default
Loading...
Empty State
Loading...
Gradient
Loading...
In Buttons
Loading...
API Reference
<app-spinner>
Inputs
| Input | Type | Default | Description |
|---|---|---|---|
label | string | "Loading" | Accessible label applied to the status SVG. |
variant | "default" | "gradient" | "default" | Sets the spinner's visual treatment. |
class | string | "" | Additional classes applied to the rendered SVG. |
The rendered SVG uses role="status" and data-slot="spinner".
Utilities
| Export | Angular API |
|---|---|
SpinnerImports | Readonly collection containing SpinnerComponent for importing. |
Angular
React
Solid
Svelte
Vue