Spin
A loading spinner for indicating content is being fetched or processed.
When to Use
- To indicate a loading state for a section or the entire page
- As an overlay on content that is being refreshed
- For async operations in progress
Import
Examples
Basic
Sizes
With Tip
Fullscreen
API
SpinProps
spinning—boolean— Whether to show spinner (default:true)size—"small" | "default" | "large"— Spinner size (default:"default")delay—number— Delay before showing (ms), prevents flickerindicator—ReactNode— Custom spinner elementtip—ReactNode— Loading textdescription—ReactNode— Description below tipfullscreen—boolean— Cover the entire viewport (default:false)percent—number | "auto"— Progress percentage