See what's launched

The next gen Gatsby is here Performance, developer velocity, and scaling to meet Enterprise needs - See what’s launched

Sign Up for Free
Community Plugin
View plugin on GitHub


Wraps gatsby-link and a href and switches between then based on the url in the to prop.


npm install --save gatsby-plugin-superlink

How to use

// in your component
import Superlink from 'gatsby-plugin-superlink';

// uses gatsby link, by magic
<p><Superlink to='/about-us'>foo</Superlink></p>

// uses a href
<p><Superlink to=''>bar</Superlink></p>
© 2022 Gatsby, Inc.