Web · Components
Spinner
Spinning loading indicator.
2 exports
Live example
Preview
Code
Events
- Events appear here when you interact with the preview.
Import
Spinning loading indicator. Inherits its size and color from the text; can be changed with size-* and text-* classes. Spins slower with the "reduced motion" preference.
Examples
SpinnerProps
interfaceProps of the Spinner component.
Extends: ComponentProps<"svg">
| Name | Type | Default | Description |
|---|---|---|---|
label? | string | null | the `loading` text (`"Yükleniyor"`) | Text read to screen readers. If the spinner is only decorative (e.g. inside a button that already says "Saving"), pass null. |