---
title: Spinner
description: >-
Displays an animated indicator showing users that content or actions are
loading. Use to communicate ongoing processes, such as fetching data from a
server. For loading states on buttons, use the “loading” property on the
Button component instead.
api_name: app-home
source_url:
html: >-
https://shopify.dev/docs/api/app-home/polaris-web-components/feedback/spinner
md: >-
https://shopify.dev/docs/api/app-home/polaris-web-components/feedback/spinner.md
---
# Spinner
Displays an animated indicator showing users that content or actions are loading. Use to communicate ongoing processes, such as fetching data from a server. For loading states on buttons, use the “loading” property on the Button component instead.
## Properties
* accessibilityLabel
string
A label that describes the purpose of the progress. When set, it will be announced to users using assistive technologies and will provide them with more context. Providing an `accessibilityLabel` is recommended if there is no accompanying text describing that something is loading.
* size
"base" | "large" | "large-100"
Default: 'base'
### Examples
* #### Code
##### jsx
```jsx
```
##### html
```html
```
## Examples
Component examples
### Basic usage
Basic usage
Standard loading spinner with accessibility label for screen readers.
Loading state in section
Centered loading indicator with text in a section layout for content loading states.
Inline loading with text
Compact inline loading indicator for form submissions and quick actions.
### Examples
* #### Basic usage
##### Description
Standard loading spinner with accessibility label for screen readers.
##### jsx
```jsx
```
##### html
```html
```
* #### Loading state in section
##### Description
Centered loading indicator with text in a section layout for content loading states.
##### jsx
```jsx
Loading products...
```
##### html
```html
Loading products...
```
* #### Inline loading with text
##### Description
Compact inline loading indicator for form submissions and quick actions.
##### jsx
```jsx
Saving...
```
##### html
```html
Saving...
```