Search documentation

Search the documentation and open a page.

An indicator that can be used to show a loading state.

Loading...

Installation

pnpm dlx shadcn@latest add @wirekyt/spinner

Composition

<app-spinner>

Examples

Default

Loading...

Empty State

Loading...

Gradient

Loading...

In Buttons

Loading...

API Reference

<app-spinner>

Inputs

InputTypeDefaultDescription
labelstring"Loading"Accessible label applied to the status SVG.
variant"default" | "gradient""default"Sets the spinner's visual treatment.
classstring""Additional classes applied to the rendered SVG.

The rendered SVG uses role="status" and data-slot="spinner".

Utilities

ExportAngular API
SpinnerImportsReadonly collection containing SpinnerComponent for importing.