Key Micro-Interaction in Framer

Key Micro-Interaction in Framer

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

Interaction

Key Micro-Interaction in Framer

This is a key micro-interaction recreated from the amazing James McDonald, built right inside Framer without needing any third-party tools. Yep, the SVG illustration of the key and everything is also drawn in Framer. Remix the file to see how it's built, or just copy the component onto your canvas.

image of Nandi Muzsik
image of James

Created by

Dark UI design showcasing key icon with label "FRM" and text about session management for JWT and active device monitoring
Dark UI design showcasing key icon with label "FRM" and text about session management for JWT and active device monitoring
Dark UI design showcasing key icon with label "FRM" and text about session management for JWT and active device monitoring

About the resource

To create this micro-interaction in Framer, I first drew out the SVG illustration. Thanks to Framer's upgraded vector capabilities, I was able to stay right in Framer without needing to switch to Figma, Illustrator, or any other tool. Pretty cool, right?

About the resource

To create this micro-interaction in Framer, I first drew out the SVG illustration. Thanks to Framer's upgraded vector capabilities, I was able to stay right in Framer without needing to switch to Figma, Illustrator, or any other tool. Pretty cool, right?

About the resource

To create this micro-interaction in Framer, I first drew out the SVG illustration. Thanks to Framer's upgraded vector capabilities, I was able to stay right in Framer without needing to switch to Figma, Illustrator, or any other tool. Pretty cool, right?

Vector wireframe design of a key and tag with “FRM” label on dark background, illustrating micro-interaction detail

The SVG structure of the illustration in Framer.

Vector wireframe design of a key and tag with “FRM” label on dark background, illustrating micro-interaction detail

The SVG structure of the illustration in Framer.

Vector wireframe design of a key and tag with “FRM” label on dark background, illustrating micro-interaction detail

The SVG structure of the illustration in Framer.

Once I had this setup, all I had to do is turn it into a component and create 3 variants. Why three? It’s just a hover state, right? So why do we need three variants?

Well, it’s because you can see the key has a really subtle up and down movement on hover. So it not only moves in one direction, but immediately comes back. That’s why on hover, we go to “Out” variant, and then we come back to “Back”. This auto movement back into the “Back” variant happens with an appear interaction.

Once I had this setup, all I had to do is turn it into a component and create 3 variants. Why three? It’s just a hover state, right? So why do we need three variants?

Well, it’s because you can see the key has a really subtle up and down movement on hover. So it not only moves in one direction, but immediately comes back. That’s why on hover, we go to “Out” variant, and then we come back to “Back”. This auto movement back into the “Back” variant happens with an appear interaction.

Once I had this setup, all I had to do is turn it into a component and create 3 variants. Why three? It’s just a hover state, right? So why do we need three variants?

Well, it’s because you can see the key has a really subtle up and down movement on hover. So it not only moves in one direction, but immediately comes back. That’s why on hover, we go to “Out” variant, and then we come back to “Back”. This auto movement back into the “Back” variant happens with an appear interaction.

Animation setup for key and tag micro-interaction, with variant settings like delay, transition type, and screen states

The variants of the micro-interaction.

Animation setup for key and tag micro-interaction, with variant settings like delay, transition type, and screen states

The variants of the micro-interaction.

Animation setup for key and tag micro-interaction, with variant settings like delay, transition type, and screen states

The variants of the micro-interaction.

Then, I just created a main card component, added a hover state to it, where the illustration’s variant switches to “Out”. That’s it! The interaction set within the illustration component will make sure that it transitions back to the “Back” variant.

Then, I just created a main card component, added a hover state to it, where the illustration’s variant switches to “Out”. That’s it! The interaction set within the illustration component will make sure that it transitions back to the “Back” variant.

Then, I just created a main card component, added a hover state to it, where the illustration’s variant switches to “Out”. That’s it! The interaction set within the illustration component will make sure that it transitions back to the “Back” variant.

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

  • 3D text cube animation in Framer displaying the phrases ‘YOU CAN JUST DO THINGS’ and ‘MAKE THINGS YOU WISH EXISTED’ on its rotating sides in blue text on a dark background

    3D Text Cube Interaction in Framer

    Interaction

    3D text cube animation in Framer displaying the phrases ‘YOU CAN JUST DO THINGS’ and ‘MAKE THINGS YOU WISH EXISTED’ on its rotating sides in blue text on a dark background

    3D Text Cube Interaction in Framer

    Interaction

    3D text cube animation in Framer displaying the phrases ‘YOU CAN JUST DO THINGS’ and ‘MAKE THINGS YOU WISH EXISTED’ on its rotating sides in blue text on a dark background

    3D Text Cube Interaction in Framer

    Interaction

  • Inverted Custom Cursor in Framer

    Inverted Custom Cursor in Framer

    Interaction

    Inverted Custom Cursor in Framer

    Inverted Custom Cursor in Framer

    Interaction

    Inverted Custom Cursor in Framer

    Inverted Custom Cursor in Framer

    Interaction