How To Create a Responsive & Interactive ACCORDION Component in Figma (Tutorial)

Поділитися
Вставка
  • Опубліковано 30 вер 2024
  • Today we're going to take a look at creating an interactive and responsive accordion component in Figma that expands and collapses when you click it. I'll also show you how to create a set of accordions (using Auto Layout).
    Visit my STORE: bit.ly/mavi-de...
    Explore Mavi Design COURSES : bit.ly/mavi-de...
    Get FIGMA for FREE: bit.ly/get-sta...
    Take FULL advantage of ALL FIGMA's features: bit.ly/figma-p...
    Mobile App UI Design Playlist: • FREE Figma Mobile UI D...
    Auto Layout: • AUTO LAYOUT IN FIGMA -...
    Figma Basics: • Figma Basics
    --------
    © 2022 Mavi Design

КОМЕНТАРІ • 88

  • @mavidesign
    @mavidesign  2 роки тому +12

    Upvote this comment if you'd like me to add this component to my store 👀 (bit.ly/mavi-design-store)

    • @steveglew301
      @steveglew301 Рік тому

      I think this is really cool but I followed your tutorial a few times to make sure I wasn't missing anything, but could not get the open accordion push the one below down. What am I missing?

  • @mehdicharife2335
    @mehdicharife2335 Місяць тому +1

    Why are you squandering most of the video on pointless stylistic tweaks? The title promised to show how to create a responsive and interactive accordion. Get to the point. A minimalistic style would more than suffice to show the functionality.

  • @Corbinfinity
    @Corbinfinity Рік тому +3

    How would i change the body text in the accordion though if i cant edit the text within the viewport? I can only edit the headers individually

    • @sunandsnoww
      @sunandsnoww Рік тому

      I came here to ask the same question only to find out it was already asked but not answered. ;(

  • @EmiPubmarket
    @EmiPubmarket 4 місяці тому

    What's the most important part of getting that accordion animation? I've designed my dropdown menu, but it isn't working by just to put 'autolayout' on it. The menu does not move while one dropdown menu is open...

  • @steviesmith5161
    @steviesmith5161 Місяць тому

    how do i successfully get this into a website deisgn like on wordpress? i am trying to send these designs to someone trying to post this feature using wordpresss but is struggling. i want to try to help but have no idea how to web develop. any tips?

  • @kashishramrakhiani2416
    @kashishramrakhiani2416 3 місяці тому

    How can I change the text of the open accordion every time I need to use this?

  • @KanikaSachdeva-jt3sd
    @KanikaSachdeva-jt3sd 2 місяці тому

    Thanks I tried to create it. When I hid the text the height of box did not decrease. what did i miss?

  • @alessiosurace6052
    @alessiosurace6052 Рік тому +6

    Hi, how do I change the content of the text while still keeping the same accordion to select in the assets? Thank you!

  • @robbiesmith79
    @robbiesmith79 Рік тому +1

    I lost count how many times I had to pause your video and go back and watch bits over and over again. It was a bit fast to follow along with and I feel like in your editing you cut out some important tips and tricks that I had to learn the hard way. Overall it's a great tutorial and I was able to mostly recreate the effect. I'm eager to use this new technique in my current project. Liked, sub'd, commended, belled, all that jazz.

  • @666verified
    @666verified Місяць тому

    Thank you so much!!!!

  • @pritikamat5257
    @pritikamat5257 Рік тому +2

    Hello Mavi, To push the content further below , both pieces should be in a same auto layout, was a very imp tip for me. Thanks again., Very informative video.

  • @shogher
    @shogher 6 місяців тому

    Hey! Is there a way to make the whole frame move when things like this expand and collapse?
    I'm trying to get my page to move when my accordion expands and collapses but can't figure out if there's a way to do it :')

  • @badermuteb4552
    @badermuteb4552 6 місяців тому

    I really love your videos keep them coming. What don't you create a mega figma course? I would buy it. Thanks

  • @Gereh_media
    @Gereh_media Місяць тому

    Thank you for your good training. In the end, when you made 3 accordions, if we click on all of them, they will all open, but how is it possible that when we open the second accordion, the first accordion is closed?

  • @JDMedia
    @JDMedia 10 місяців тому

    Thanks lot Bro. for your valuable and well understanding tutorial 😍👌❤

  • @gabypino407
    @gabypino407 Рік тому +1

    Thanks a lot for this tutorial, just what I needed and very well explained!

  • @DavidAtMidknight
    @DavidAtMidknight 4 місяці тому

    What if you need to fit more than just a text box into the open state. How do I add other components as well?

  • @irvincheong3461
    @irvincheong3461 9 місяців тому

    Hi Mavi , why doesnt my accordion show up when im trying to present?

  • @hirohamada1605
    @hirohamada1605 Рік тому

    why do i have no fill container option in the horizontal resizing 2:26 ? i just have fixed and hug. i design on figma web and the latest software version.

  • @PurooRoy
    @PurooRoy 8 місяців тому

    What exactly made the other elements move down on expanding the accordion above it?

  • @prajwalsharma2794
    @prajwalsharma2794 Рік тому

    As I change text inside my instance of accordion, my interaction is no longer working ie., I am not able to do view more and less. Please help.

  • @aaftabkhan1051
    @aaftabkhan1051 16 днів тому

    This is super awesome, Kudos Man

  • @amirataha4952
    @amirataha4952 Рік тому +1

    really thanks, very useful and details

  • @The_Beyond0
    @The_Beyond0 Рік тому

    I followed the instructions detail for detail and still can't get it right

  • @mugcarnivore2493
    @mugcarnivore2493 2 місяці тому

    But you can't put it over a design, it will not fly over it but push the design

    • @user-cm3zw9oj9z
      @user-cm3zw9oj9z 2 місяці тому +1

      I had the same issue and solved like that: you should shorten the main frame as the size of the device , turn clip content (for example 844 for phone) and mark for the frame " vertical scroll" position. Check in prototype and you see that you can see the content below the accordion , after it opens. First of all be sure that you have all the sections in one auto layout frame.

    • @mugcarnivore2493
      @mugcarnivore2493 2 місяці тому

      @@user-cm3zw9oj9z thank you

  • @soundboy89
    @soundboy89 5 місяців тому

    Actual functionality begins at 7:30

  • @noob4head
    @noob4head 6 місяців тому

    Absolutely amazing video, thanks man this helped me a lot!

  • @TonyBullard
    @TonyBullard 10 місяців тому +1

    I learned what I was hoping for, but I feel like playing with gradients and other visual design decisions aren't needed in a tutorial about making an accordion component.

  • @krp8398
    @krp8398 Рік тому +1

    Hey there, first of all - thank u so much for this tutorial and your other helpful videos! It helps me A LOT to understand Figma in depth!
    I have a question about the accordion menu - do you know how to change the accordion menu so that - when you interact - it opens upwards instead of downwards? Like, when I place my accordion elements at the bottom of a page, i would like it to push upwards when clicked on. If it opens up downwards, it would push the other menu-buttons outside of the page.

    • @mavidesign
      @mavidesign  Рік тому +2

      I'm so glad my videos help you understand Figma!!
      To achieve the outcome you're describing, you need to set the accordion constrains to "right" (or left if on the left side) and "bottom", which determines what sides is this object originating from / constrained to:) See this screenshot for details
      postimg.cc/gXKLXRNW
      Mavi

    • @krp8398
      @krp8398 Рік тому

      Nice! First of all, thank you for replying so fast! You saved me from lots of headache - it worked perfectly. Thank you so much, keep up the great work! :))

  • @sayekatchakraborty2552
    @sayekatchakraborty2552 2 роки тому +1

    Thank you so much. Learned some new techniques

  • @AgosArg
    @AgosArg 4 місяці тому

    Top class as always and that gradient looks so great! Thank you :)

  • @anarodea4141
    @anarodea4141 Рік тому +1

    Thank you so much. I loved your design!

  • @slipstream01
    @slipstream01 Рік тому

    Wow i followed along and so happy to have found your channel, next level . You got a new Sub FAM

  • @maggsvamp
    @maggsvamp Рік тому

    Fill Container is not showing up on mine.

  • @immwennyy
    @immwennyy 9 місяців тому

    thanks for this video!!!!!! helps me a lot

  • @TheEXmasterwrecker
    @TheEXmasterwrecker 8 місяців тому

    will this work if i put it into figjam?

  • @sovitkharel9165
    @sovitkharel9165 8 місяців тому

    I was stucking with this you helped me a lot. Thanks a lot.

  • @maicon4820
    @maicon4820 Рік тому

    I was breaking my head here and found your video. Thanks for helping us friend. Hail from Brazil!

  • @jsopiak1
    @jsopiak1 6 місяців тому

    amazing amazing amazing! Thank you!

  • @Ansx-uq1tz
    @Ansx-uq1tz 11 місяців тому

    i love this chanel bro.

  • @Asi226
    @Asi226 Рік тому +4

    I'm new to Figma and design and your tutorials are the best I've found, very informative and helpful. I especially appreciate seeing your thought process and that you explain each step and the reasoning behind it. Thank you very much, keep them coming.

  • @mayararodrigues1066
    @mayararodrigues1066 Рік тому +1

    Great tutorial!!

  • @kikzurass
    @kikzurass Рік тому

    You just saved my life, dude, thnx!!

  • @Corbinfinity
    @Corbinfinity Рік тому

    How would i change the body text in the accordion though if i cant edit the text within the viewport? I can only edit the headers individually

  • @alanchang3577
    @alanchang3577 11 місяців тому

    This is it!! This is what I've been looking for, thank you so much!

  • @pranavsharma8230
    @pranavsharma8230 Рік тому

    Hey mavi....luv from india.i hav a question.whats to the diff between this and ur drop-down video? Why do u have to hide the text in closed state? Can't it be like drop-down menu closed state. Please answer. Thanx in advance

  • @Constance8651
    @Constance8651 Рік тому

    Hello, can I please get some help? At the final part, the accordion stack didn't work for me even doing auto layout

    • @mavidesign
      @mavidesign  Рік тому +1

      Hi, if you need help you'll have to share your file / design with me. For priority support and mentoring on your creative journey, consider joining my Patreon!
      Mavi

  • @diegovictor6772
    @diegovictor6772 Рік тому

    Amazing bro. Thanksss. ❤❤❤

  • @9nchen
    @9nchen Рік тому +1

    Thank you for the awesome tut. Q: at 8:26 in the video you cut from a state where the component and its variant have a space between and then not. In my case, there is room between them that creates an empty space foldout state on the closed version on top of each other :/

    • @mavidesign
      @mavidesign  Рік тому

      oh that is just me moving the variant upwards and resizing the pink component border. Could you please describe your problem in more detail? I'm not sure I follow

    • @9nchen
      @9nchen Рік тому

      @@mavidesign We have a closed and open state. When hiding the elements not in use, it creates an empty space that seem Figma is not autoresizing this space, and thereby creating a weird animation.

    • @mavidesign
      @mavidesign  Рік тому +2

      @@9nchen
      1) did you make sure to hide the layers by using the eye icon and not the opacity % value?
      2) make sure to set the vertical adjustment of the whole accordion to “hug contents” and not “fixed”
      Hope that helps

  • @vamboo8918
    @vamboo8918 6 місяців тому

    thanks

  • @josephlawrence927
    @josephlawrence927 2 роки тому +4

    the most detailed accordion video

  • @sumanprajapati6040
    @sumanprajapati6040 Рік тому

    oh this tis great . easy to understand. Thank you

  • @rafacrisil
    @rafacrisil 11 місяців тому

    fantastic!

  • @mohammadanasmemon9594
    @mohammadanasmemon9594 Рік тому

    Hello! Please help me!
    Could you let me know how you made those three Boxes not overlap in the open state?

    • @mavidesign
      @mavidesign  Рік тому

      The whole objects needs to be an “auto layout”. That way, objects are going to stack beneath each other automatically. Could you also share a relevant time stamp so that I know which part of the video you have in mind

  • @teesdelish
    @teesdelish Рік тому

    Great video. thanks

  • @kikzurass
    @kikzurass Рік тому

    I have a problem, I get the menu to work, but once I start to copy it in other screens, the boxes overlap... it only works on the first screen I put the menu, once I try to replicate in other screens it doesnt work

    • @mavidesign
      @mavidesign  Рік тому +1

      make sure that the accordion component sits within an autolayout. This sounds like you set up the accordion correctly but then it opens across other objects. This is prevented by using autolayout with accordion containers
      If you need more specific advice, please consider joining my Discord. Due to the number of questions I'm getting I'm unable to analyze everyone's request in-depth.
      Hope this helps!

    • @kikzurass
      @kikzurass Рік тому

      @@mavidesign Thanks! I'm sure it has a solution and Im sure joining your discord, but for now, due to the emergency of this work, I solved it by dupliating the menu, deataching the instance and making it a component again

  • @nesty3000
    @nesty3000 Рік тому

    Thank you!!

  • @RelaxRhythms91
    @RelaxRhythms91 Рік тому

    thank you so much

  • @ampliar.online
    @ampliar.online Місяць тому

    I just wanted to say a big thank you for the tutorial you recorded. It's 3 AM here, and I'm watching your video. It was exactly what I needed to create an accordion card effect in Figma.
    Thank you so much for your help!
    Best regards,
    João from Brazil

  • @NurHidayat-hs9kn
    @NurHidayat-hs9kn 2 роки тому

    Thank you Thank you

  • @augustinesolomon6286
    @augustinesolomon6286 Рік тому

    how i edit individual text in the drop down?

  • @marti8267
    @marti8267 Рік тому

    thank youuu

  • @FaysalKhalid
    @FaysalKhalid Рік тому

    Love it.

  • @SrikanthSSanamo
    @SrikanthSSanamo Рік тому

    :)

  • @niroshansubash
    @niroshansubash 10 місяців тому +1

    helped me a lot bro. I'm a beginner and working on a project. with this tutorial I have added this feature to the project..

  • @ghulaminhartarto
    @ghulaminhartarto 2 роки тому

    pleasee part 2. :(

    • @mavidesign
      @mavidesign  2 роки тому

      What would you like to see in part 2?

    • @ghulaminhartarto
      @ghulaminhartarto 2 роки тому

      @@mavidesign Yupppppp... :))

    • @TâmNgô-b6r
      @TâmNgô-b6r Рік тому

      I think it's how to click the one and others are close

  • @najwanaura7171
    @najwanaura7171 3 місяці тому

    really helpful, thanks!

  • @ajinkya-more
    @ajinkya-more Рік тому

    Thanks a ton! Worked like charm