SVG Underline Navigation in Framer

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

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

New

New

New

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
 Website navigation menu hover state on About link
 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.

Framer Navigator

Learn the fundamentals of Framer for free.

Build your ideas with ease by learning the basics of website building with Framer.

Nandi portrait's background
Nandi's portrait

Framer Navigator

Learn the fundamentals of Framer for free.

Build your ideas with ease by learning the basics of website building with Framer.

Nandi portrait's background
Nandi's portrait

Framer Navigator

Learn the fundamentals of Framer for free.

Build your ideas with ease by learning the basics of website building with Framer.

Nandi portrait's background
Nandi's portrait

More resources

More resources

  • Email input field with notify me button

    Morphing Waitlist Input in Framer

    Component

    Email input field with notify me button

    Morphing Waitlist Input in Framer

    Component

    Email input field with notify me button

    Morphing Waitlist Input in Framer

    Component

  • Text mask animation with scroll down indicator

    Text Mask Animation in Framer

    Component

    Text mask animation with scroll down indicator

    Text Mask Animation in Framer

    Component

    Text mask animation with scroll down indicator

    Text Mask Animation in Framer

    Component