Use Spinner when there is no meaningful percentage. label adds visible text; when label is empty, ariaLabel supplies screen-reader text. tone sets the semantic arc color, overridden by a non-empty color. size and strokeWidth control geometry; animationDuration controls rotation, not the separate arc animation. The application owns loading state.
All properties are Inputs. Spinner has no Outputs or templates and does not start or complete the operation. Replace it when the application finishes loading.
Spinner is a polite status, not a progressbar. Describe the operation instead of just saying Loading. Keep the status outside an aria-busy content region so it can be announced. Reduced motion stops rotation and arc animation while keeping the indicator visible.
Key
Action
โ
Spinner is a polite status, not a progressbar. Describe the operation instead of just saying Loading. Keep the status outside an aria-busy content region so it can be announced. Reduced motion stops rotation and arc animation while keeping the indicator visible.
ng-content projects content into the component. TemplateRef inputs receive a template; ng-template directives identify templates with a typed context. A directive shared by an entrypoint is not necessarily a slot of this component.
This component does not expose content projection or public customization templates.
Public Types
Open a type to inspect its definition and interface fields.
NeuSpinnerTone.d.ts
import type { NeuSpinnerTone } from '@neural-ui/core/spinner';
// Public declaration (reference only)
export type NeuSpinnerTone = 'neutral' | 'brand' | 'success' | 'info' | 'warning' | 'danger';