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

Jason Lengstorf
InstructorJason Lengstorf
Share this video with your friends

Social Share Links

Send Tweet
Published 6 years ago
Updated 4 years ago

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.