Create a hamburger menu transition in Figma

Ғылым және технология

Figma is free to use. Sign up here: bit.ly/3msp0OV
Let’s learn how to create a hamburger menu transition in Figma.
1. Start with a hamburger menu icon (created with three lines, a top line, middle line and bottom line), and make it a component. Name the variant as “closed”.
2. Add a new variant and rename it to “opened”.
3. Expand the opened variant’s layers and select the top-line layer. Change its rotation to -45 degree.
4. Select the bottom-line layer and change its rotation to 45 degree.
5. Select the middle-line later and change its opacity to 0% by hitting 0 twice.
6. Reposition the lines so that they align with each other and form a close icon.
7. Switch to prototype mode by hitting Shift + E.
8. Connect the closed variant to the opened variant. Set animation transition to “Smart animate”, easing to “Ease in and out back”, and animation duration to “200ms”.
9. Connect the opened variant back to closed variant with the same settings.
10. Then, paste the instances on the designs. In the video, we have two screens. One is the homepage, and one is the menu. Make sure the instances are pasted on the same position on both screens.
11. Update the instance’s state to opened in the menu screen.
12. Now switch to prototype mode and connect the two screens.
13. Drag a connection noodle from the hamburger menu instance in the homepage screen to the menu screen. Set animation transition to “Move in” and direction to “down”, easing to “Ease in and out back”, and animation duration to “300ms”. Remember to check the box for “smart animate matching layers”.
14. Then drag a connection noodle from the hamburger menu instance in the menu screen back to the homepage screen. Set animation transition to “Move in” and direction to “up”, easing to “Ease in and out back”, and animation duration to “300ms”. Remember to check the box for “smart animate matching layers”.
15. Now present the prototype in presentation view and test it out.
____________________________________________________
Find us on ⬇️
Twitter: / figma
Instagram: / figma
LinkedIn: / figma
____________________________________________________
#Figma #Config #FigJam #Tutorial #NothingGreatIsMadeAlone #design #tips #Schema #Schema2022 #DesignSystems #shorts #shortsvideo

Пікірлер: 24

  • @Figma
    @Figma Жыл бұрын

    Use this community file to follow along: bit.ly/3NQj2sf

  • @sameerhussain2579
    @sameerhussain2579 Жыл бұрын

    Figma's official channel is doing it better and simpler than most other creators.

  • @gmaps3071
    @gmaps3071 Жыл бұрын

    Missed opportunity to loop the video! 😄 Great tip though!

  • @alexisscharf7727
    @alexisscharf7727 Жыл бұрын

    Nice video. Thank you for posting videos that teach Figma. Apreciate it 🙏🏻

  • @NTHNGLIKEDEEZ
    @NTHNGLIKEDEEZ Жыл бұрын

    the developer: 💀☠️⚰️

  • @PsychoDude

    @PsychoDude

    Жыл бұрын

    Fr

  • @pulsewithsteve3177

    @pulsewithsteve3177

    Жыл бұрын

    This takes like 5 minutes for a good dev 😅

  • @sameerhussain2579

    @sameerhussain2579

    Жыл бұрын

    Nothing complicated yet so smooth

  • @maryjoycerogacion4176

    @maryjoycerogacion4176

    8 ай бұрын

    hahahhahahahahh fr

  • @martin_6264
    @martin_62643 ай бұрын

    This short video helped me way more than the others I seen thank you so so much 🙏🏽🙏🏽🙏🏽

  • @evanchang8274
    @evanchang82747 ай бұрын

    If I assign a "change to" on tap to a variant, can I also add a second "on tap" interaction to it? Right now Im getting an error when im trying to apply a second on tap interaction to a variant that already has a "change to" assignment (ie, when I click the hamburger variant i want it to change to the x but also change to the expanded menu).

  • @lepdien
    @lepdien7 ай бұрын

    In fact if you add interaction between 2 frames, you dont need to add interaction between 2 icon variants

  • @yannpoco
    @yannpoco3 ай бұрын

    When the menu is an overlay how to animate the hamburger icon?

  • @kdotklay
    @kdotklay Жыл бұрын

    Dope

  • @guilhermepinho9694
    @guilhermepinho96945 ай бұрын

    00:00

  • @divyande5388
    @divyande5388 Жыл бұрын

    Can someone teach me how to create responsive table in figma

  • @sameerhussain2579

    @sameerhussain2579

    Жыл бұрын

    Search responsive design on youtube

  • @Phoca_Vitulina
    @Phoca_Vitulina Жыл бұрын

    So cool! I have a question though after trying it out. My menu text is flying in faster than the rest of the background and leaving later than the background. How do I keep it the same speed as the menu screen itself? Thanks

  • @Figma

    @Figma

    Жыл бұрын

    Hello, you might need to add an extra white rectangular background inside the frame!

  • @jefferyaaron3462
    @jefferyaaron3462 Жыл бұрын

    How do you turn it into code tho

  • @dennisdustin6895

    @dennisdustin6895

    7 ай бұрын

    here's the neat part, you don't

  • @phoebe_sg
    @phoebe_sg Жыл бұрын

    Hi I cant click on the 'Change to' option? don't know why. Anybody can help me

  • @Figma

    @Figma

    Жыл бұрын

    Hi Phoebe, did you already have another connection with the "change to" interaction set up?

  • @sameerhussain2579

    @sameerhussain2579

    Жыл бұрын

    Watch the short again, and do no miss a step.

Келесі