Course lesson

Add Custom Styles for the Active Link Using Gatsby’s Link Component

A common best practice is to provide a visual indication for which page is currently being viewed. This video will show you how to take advantage of the activeStyle prop of Gatsby’s Link component to customize the look of the currently active link.

Duration
1 min
Access
Free
Transcript
Needs source

A common best practice is to provide a visual indication for which page is currently being viewed. This video will show you how to take advantage of the activeStyle prop of Gatsby’s Link component to customize the look of the currently active link.