Links take users to another place, and usually appear within or directly following a sentence.


optional = ?

Name Type Description
onPress? () => void Callback when the link is pressed.
external? boolean Open the link in a new tab on desktop, or in the device browser on mobile.
url? string A relative path or absolute URL to link to.


  • 📱 Only nest Text within Link. Other components will be ignored. Nested Text components can be used to render the content of the Link
✅ Do 🛑 Don't
📱 Use external to launch URLs with the device browser Inject Javascript into the URL. This will be blocked.
🖥 Use external to launch URLs in a new browser tab. Use HTTPS for URLs.

For more guidelines, refer to Polaris' Link best practices.

On this page