The Navigation API allows you navigate within and outside of your app using the [HTML anchor element](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a). It also allows you to modify the top-level browser URL with or without navigating. It does this through the [History API](https://developer.mozilla.org/en-US/docs/Web/API/History_API) and the [Navigation API](https://developer.mozilla.org/en-US/docs/Web/API/Navigation_API).
<a href="shopify://admin/products" target="_top">Products page</a>
The Navigation API allows you navigate within and outside of your app using the [HTML anchor element](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a). It also allows you to modify the top-level browser URL with or without navigating. It does this through the [History API](https://developer.mozilla.org/en-US/docs/Web/API/History_API) and the [Navigation API](https://developer.mozilla.org/en-US/docs/Web/API/Navigation_API).
<a href="/settings">Settings</a>
open('/settings', '_self');
<a href="https://example.com">Settings</a>
open('https://example.com', '_top');
<a href="https://example.com" target="_blank">Settings</a>
open('https://example.com', '_blank');
<a href="shopify://admin/products" target="_top">Products page</a>
open('shopify://admin/products', '_top');
<a href="shopify://admin/products/123" target="_top">Products page</a>
open('shopify://admin/products/123', '_top');
<a href="shopify://admin/customers" target="_top">Customers page</a>
open('shopify://admin/customers', '_top');
<a href="shopify://admin/orders" target="_top">Orders page</a>
open('shopify://admin/orders', '_top');
history.pushState(null, '', '/settings');
history.replaceState(null, '', '/settings');
navigation.navigate('/settings', {
history: 'push',
});
navigation.navigate('/settings', {
history: 'replace',
});