Documentation Index
Fetch the complete documentation index at: https://mintlify.com/zendeskgarden/website/llms.txt
Use this file to discover all available pages before exploring further.
@zendeskgarden/react-loaders package provides four components for communicating loading states. Choose the right one based on what is loading and whether the duration is known.
| Component | Best for | Duration known? |
|---|---|---|
Skeleton | Page/section content with a predictable layout | No |
Spinner | Indeterminate full-page or section load | No |
Dots | Single component busy state (button, input) | No |
Progress | File upload/download with a measurable percentage | Yes |
Dots
An inline loading indicator that communicates ongoing activity after a user action. Use Dots when a single component — like a Button or Search input — is busy. For page loading, use Skeleton or Spinner.With explicit size and color
By default, size and color are inherited from the parent element’sfont-size and color.
Explicit size for the loader. When omitted, inherits from the parent font size.
Explicit color. When omitted, inherits from the parent element’s
color.Spinner
A circular spinner that communicates an unknown loading time. Use when page content is unknown or unpredictable. When the content layout can be estimated, use Skeleton instead. When a single component is busy, use Dots.With explicit size and color
Size and color are inherited from the parent by default.Explicit width/height for the spinner SVG. Inherits from parent font size when omitted.
Explicit color. Inherits from the parent
color property when omitted.The animation duration in milliseconds. Defaults to
1250.Progress
A horizontal progress bar for communicating a known percentage of completion — typically file uploads or downloads. When loading time is unknown, use Spinner. When loading page content, use Skeleton.Sizes
The Progress loader ismedium by default. It can also be small or large.
Custom color
The default foreground color is the success color. You can override it with thecolor prop.
The current progress as a number from
0 to 100.The height of the progress bar. Defaults to
'medium'.The fill color of the progress bar. Defaults to the Garden success color.
Accessible label describing what is loading. Required when no visible label is present.
Skeleton
A content placeholder shown while the layout is loading. Skeleton is the default loader when the system can predict the format of the incoming content. It avoids large layout shifts by reserving space. Use Skeleton for progressive page loading. When the content format is unknown, use Spinner. When indicating a component is busy, use Dots.Light variant
Skeleton loaders can be inverted for use on dark backgrounds.Explicit size
By default, Skeleton height is 60% of the parent font size. Set explicitheight and width to create placeholders for non-text components (e.g., buttons, avatars).
Inverts the skeleton color for use on dark backgrounds. Defaults to
false.