Skip to main content
Grahammertime
April 7, 2021

Suggestion: Show-hide Interaction

  • April 7, 2021
  • 9 replies
  • 5357 views

PROBLEM: There is no way to create an accordion or collapsible menu without endless duplicate pages

FIX: If you could show/hide objects, groups, components, you could easily create a collapsible section, which if used within an auto layout with fill container would resize nicely.

There are so many uses for this kind of behaviour. Whole components (like a left nav) could be setup with default behaviour that would just work where they were placed, without the need for complex prototyping.

9 replies

AndrewSpencer
April 7, 2021

Not 100% sure but interactive components might help here. Abstracts a lot of the prototyping from the page design to the components themselves.

Grahammertime
April 8, 2021

Good suggestion @AndrewSpencer I tried it without success. The sections maintain their initial layout with respect to the thing above or below them. It could just be a bug with variants at this point because it behaves correctly in the design view. It just goes wonky in the prototyping view.

Shane
April 8, 2021

Interactive components is going to support this, but doesn’t currently: Support Auto Layout in Interactive Components - #10 by nikolasklein

mbrus
May 6, 2022

This would be so helpful. Without an ability on “Click → Show/Hide X” I have to create many more frames and interactions which feels unnecessary. Is something like this planned?

Jenni_Merrifield
New Member
July 15, 2022

I would also love to see a “-> Show/Hide X” interaction. It would be perfect for things, like tooltips, that need to show on hover (for which an overlay is overkill and which also can’t take advantage of a component text property) or (as noted above) for showing/hiding content in a collapsible panel or accordion frame without requiring separate variants for the “closed” and “open” options.

Matt_Meeks
Active Member
November 29, 2023

Is there any plan on adding this? I’d even settle for allowing a boolean variable for visibility if adding show/hide in the interactions is going to take longer. This seems like a feature that would be easy to implement relevant to some of the other features released recently for Figma, but it would have a huge impact for users.

Alamaki
November 29, 2023

Fixing variant bugs would solve this.

January 21, 2024

I agree with all of the comments above. I am new to Figma. I am a seasoned Axure user but our company recently made the move to Figma. This was so easy in Axure. Just hide the layer and build an action to toggle on or off based on the click.

Claudio_Rotunno
July 8, 2024

Just migrated from UX Pin to Figma and I’m missing the “Click → Show / Hide” interaction A LOT. Please add it to Figma, doesn’t sound too complex!