Spinner
A loading spinner indicator.
Preview
A preview of the Spinner component with interactive controls.
Interactive
Installation
Add the Spinner component to your project.
ng g @ng-cn/core:c spinnerUsage
Import and use the Spinner component in your Angular application.
<Spinner />Examples
Explore different variations and use cases for the Spinner component.
Basic
Interactive
Sizes
Interactive
API Reference
Props | Prop | Type | Default | Description |
|---|---|---|---|
size | 'sm' | 'md' | 'lg' | 'md' | The size of the spinner. |
class | string | — | Additional CSS classes to apply. |