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

Поделиться
HTML-код
  • Опубликовано: 24 июл 2022
  • 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-design-store
    Explore Mavi Design COURSES : bit.ly/mavi-design-courses
    Get FIGMA for FREE: bit.ly/get-started-with-figma
    Take FULL advantage of ALL FIGMA's features: bit.ly/figma-professional-plan
    Auto Layout: • AUTO LAYOUT IN FIGMA -...
    Figma Basics: • Figma Basics
    --------
    © 2022 Mavi Design
  • ХоббиХобби

Комментарии • 76

  • @mavidesign
    @mavidesign  Год назад +11

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

    • @steveglew301
      @steveglew301 8 месяцев назад

      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?

  • @Asi226
    @Asi226 Год назад +3

    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.

  • @gabypino407
    @gabypino407 10 месяцев назад +1

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

  • @anarodea4141
    @anarodea4141 Год назад +1

    Thank you so much. I loved your design!

  • @user-vh4bs1cj9e
    @user-vh4bs1cj9e 5 месяцев назад +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..

  • @sayekatchakraborty2552
    @sayekatchakraborty2552 Год назад +1

    Thank you so much. Learned some new techniques

  • @alanchang3577
    @alanchang3577 6 месяцев назад

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

  • @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!

  • @mayararodrigues1066
    @mayararodrigues1066 Год назад +1

    Great tutorial!!

  • @josephlawrence927
    @josephlawrence927 Год назад +4

    the most detailed accordion video

  • @sovitkharel9165
    @sovitkharel9165 4 месяца назад

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

  • @slipstream01
    @slipstream01 10 месяцев назад

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

  • @noob4head
    @noob4head 2 месяца назад

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

  • @AgosArg
    @AgosArg 15 дней назад

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

  • @kikzurass
    @kikzurass Год назад

    You just saved my life, dude, thnx!!

  • @amirataha4952
    @amirataha4952 Год назад +1

    really thanks, very useful and details

  • @sumanprajapati6040
    @sumanprajapati6040 Год назад

    oh this tis great . easy to understand. Thank you

  • @nesty3000
    @nesty3000 9 месяцев назад

    Thank you!!

  • @immwennyy
    @immwennyy 5 месяцев назад

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

  • @JDMedia
    @JDMedia 6 месяцев назад

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

  • @RelaxRhythms91
    @RelaxRhythms91 Год назад

    thank you so much

  • @diegovictor6772
    @diegovictor6772 Год назад

    Amazing bro. Thanksss. ❤❤❤

  • @teesdelish
    @teesdelish Год назад

    Great video. thanks

  • @maicon4820
    @maicon4820 Год назад

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

  • @jsopiak1
    @jsopiak1 2 месяца назад

    amazing amazing amazing! Thank you!

  • @marti8267
    @marti8267 Год назад

    thank youuu

  • @NurHidayat-hs9kn
    @NurHidayat-hs9kn Год назад

    Thank you Thank you

  • @vamboo8918
    @vamboo8918 Месяц назад

    thanks

  • @rafacrisil
    @rafacrisil 6 месяцев назад

    fantastic!

  • @FaysalKhalid
    @FaysalKhalid Год назад

    Love it.

  • @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.

  • @Ansx-uq1tz
    @Ansx-uq1tz 6 месяцев назад

    i love this chanel bro.

  • @badermuteb4552
    @badermuteb4552 Месяц назад

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

  • @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.

  • @TonyBullard
    @TonyBullard 6 месяцев назад +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.

  • @DavidAtMidknight
    @DavidAtMidknight 12 дней назад

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

  • @shogher
    @shogher Месяц назад

    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 :')

  • @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! :))

  • @PurooRoy
    @PurooRoy 4 месяца назад

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

  • @ajinkya-more
    @ajinkya-more Год назад

    Thanks a ton! Worked like charm

  • @TheEXmasterwrecker
    @TheEXmasterwrecker 3 месяца назад

    will this work if i put it into figjam?

  • @hirohamada1605
    @hirohamada1605 10 месяцев назад

    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.

  • @EmiPubmarket
    @EmiPubmarket 12 дней назад

    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...

  • @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

  • @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.

  • @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

  • @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 8 месяцев назад

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

  • @irvincheong3461
    @irvincheong3461 4 месяца назад

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

  • @maggsvamp
    @maggsvamp 8 месяцев назад

    Fill Container is not showing up on mine.

  • @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

  • @The_Beyond0
    @The_Beyond0 8 месяцев назад

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

  • @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  Год назад

      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

  • @soundboy89
    @soundboy89 25 дней назад

    Actual functionality begins at 7:30

  • @augustinesolomon6286
    @augustinesolomon6286 Год назад

    how i edit individual text in the drop down?

  • @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

  • @ghulaminhartarto
    @ghulaminhartarto Год назад

    pleasee part 2. :(

  • @SrikanthSSanamo
    @SrikanthSSanamo Год назад

    :)

  • @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