Skip to main content

Loading API

The Loading API lets you display a loading indicator in the Shopify admin header. App Home UI extensions control it through shopify.loading on the shopify global object. Use this to signal that a page is loading, data is being fetched, or an upload is processing. The indicator appears at the top of the admin and persists until you explicitly stop it.

  • Page transitions: Show a loading indicator in the Shopify admin during page transitions or route changes.
  • Data loading: Indicate data is being fetched from the Shopify API.
  • Async operations: Provide visual feedback during any asynchronous operation that takes time.

Options to configure the Admin page-level loading indicator.

Anchor to isLoading
isLoading
boolean

Pass true to show the loading indicator, false to hide it.


Was this page helpful?