SVG Underline Navigation in Framer

Copy component

Copy component

SVG Underline Navigation in Framer

Copy component

Nandi Muzsik

How can I improve Framer Uni?

Let me know if there’s a missing feature or something that could be improved.

Share feedback

How to Make $10K+ with Framer in 60 days

How to Make $10K+ with Framer in 60 days

Component

SVG Underline Navigation in Framer

This is a SVG underline navigation recreated in Framer, from Raul’s original work. Feel free to remix the file and explore how this interaction is built using masking, or simply copy the component into your project.

image of Nandi Muzsik
image of Prianca S.
Image of Raul

Created by

 Website navigation menu hover state on About link

About the resource

To create this, I first designed a simple SVG line and set up a navigation with five menu items. The SVG line is placed below the menu inside a wrapper frame, with a linear mask applied to it. In the waiting variant for all menu items, the mask hides the line completely.

On hover, the menu item switches to its active variant, where the mask points move from the center of the menu item toward the edges, revealing the underline SVG. On mouse leave, the variant switches back to the waiting state, masking the line back smoothly. I also added an additional variant for each menu item to make the transition from active to inactive feel softer and more polished.

About the resource

To create this, I first designed a simple SVG line and set up a navigation with five menu items. The SVG line is placed below the menu inside a wrapper frame, with a linear mask applied to it. In the waiting variant for all menu items, the mask hides the line completely.

On hover, the menu item switches to its active variant, where the mask points move from the center of the menu item toward the edges, revealing the underline SVG. On mouse leave, the variant switches back to the waiting state, masking the line back smoothly. I also added an additional variant for each menu item to make the transition from active to inactive feel softer and more polished.

About the resource

To create this, I first designed a simple SVG line and set up a navigation with five menu items. The SVG line is placed below the menu inside a wrapper frame, with a linear mask applied to it. In the waiting variant for all menu items, the mask hides the line completely.

On hover, the menu item switches to its active variant, where the mask points move from the center of the menu item toward the edges, revealing the underline SVG. On mouse leave, the variant switches back to the waiting state, masking the line back smoothly. I also added an additional variant for each menu item to make the transition from active to inactive feel softer and more polished.

Website navigation UI states: active, hover, waiting

The multiple variants of the svg underline nav component in Framer.

Website navigation UI states: active, hover, waiting

The multiple variants of the svg underline nav component in Framer.

Website navigation UI states: active, hover, waiting

The multiple variants of the svg underline nav component in Framer.

Learn how can one go from 0 to $11.5k with Framer in 60 days.

From no followers, no portfolio, no reputation, to making thousands with a profitable Framer business.

Nandi portrait's background

Learn how can one go from 0 to $11.5k with Framer in 60 days.

From no followers, no portfolio, no reputation, to making thousands with a profitable Framer business.

Nandi portrait's background

Learn how can one go from 0 to $11.5k with Framer in 60 days.

From no followers, no portfolio, no reputation, to making thousands with a profitable Framer business.

Nandi portrait's background

More resources

More resources

  • Music app playlist created screen with artist avatars

    Playlist Generation Circular Animation in Framer

    Component

    Music app playlist created screen with artist avatars

    Playlist Generation Circular Animation in Framer

    Component

  • Customer testimonials section with review letter card

    3D Letter Testimonials in Framer

    Component

    Customer testimonials section with review letter card

    3D Letter Testimonials in Framer

    Component