Skip to main content

Navigation API

The Navigation API lets you navigate within and outside of your app using the HTML anchor element. You can also modify the top-level browser URL with or without navigating using the History API or the browser's native Navigation API.

  • App routing: Navigate between pages within your app using HTML anchor elements.
  • URL management: Modify the top-level browser URL without triggering full page navigation.
  • External links: Navigate to external pages or Shopify admin pages from within your app.
  • Programmatic navigation: Navigate to routes using JavaScript with open() for cases where anchor elements aren't suitable.

Was this page helpful?