A loader, also known as an activity indicator or spinner, is an animated graphic that notifies users that an operation is in progress. It helps manage expectations during a waiting period of unknown duration, such as fetching data or processing a request.
When to use
When to avoid
Specifications
Types
Oval
A circular spinner. This is a classic, universally understood loader suitable for most use cases, especially in compact spaces.
Bars
A series of animating vertical bars. A stylistic alternative to the oval.
Dots
A sequence of three or more animating dots. Another alternative to the oval.
Size
Anatomy
1
Track
Represents the total progress to be completed for the animated spinner. Not all of Loader variants include a track based on the component style and animation type.
2
Indicator
Animates along the track to visually represent the current percentage of completion.