Collapsible Sections / Vertical Accordion
I would like to be able to create an accordion that forces all elements below it down. I'm guessing the best way to do this is use overlays and and have the ability to fix the overlay to the accordion button and switch states of said button (closed/open)
You can already accomplish this with auto animate, but I’m leaving this open in case there’s another related request this might connect to.
+1 on this feature
Stacks don't work on this... They work in the file artboard, but not in the preview or on the share link.
Please consider making stacks work for accordion menus because it's too time consuming to use auto-animate if you have a lot of sections in the accordion (also the point is for it to work on one single artboard).
I wish it could work with the stacks. It works when you are editing the file, but when you publish the prototype it doesn't.
Rigel Closet commented
Auto animate? the point of components is to make everything happen in one art board! please implement this feature, i though stacks will take care of it, until i tried !
I'd like this feature also, it feels like a natural fit for Stacks. What happens now is the opened state overlays the content beneath the closed state.
Elaine, this will not currently work (with auto-animate or otherwise) unless we put all the page's content into one giant component and manually position the content for each state. This precludes making a non-scripted flow.
FWIW, I hope I'm wrong, but I can't get this to work. Yes, I have the most recent version.
While you can achieve a lot using auto animate, it is still a scripted flow. The idea behind creating common components is to be able to build a non scripted flow.
Chris Fleming commented
Yes! This could be an easy feature but it takes upwards of 20-30 minutes to duplicate artboards and link them all with specific transitions. They could easily make a collapsible accordion menu.
Also mabe a horizontal Accordion for menues.