1×
Become a member
to unlock all features
Autoplay

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

    Jason LengstorfJason Lengstorf
    gatsbyGatsby

    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.

    Code

    Code

    Become a Member to view code

    You must be a Member to view code

    Access all courses and lessons, track your progress, gain confidence and expertise.

    Become a Member
    and unlock code for this lesson
    Discuss

    Discuss