Skip to main content
James_Willoughby
New Participant
September 28, 2023

Change the mode of the frame on click

  • September 28, 2023
  • 5 replies
  • 1481 views

Is it possible to change the mode of the frame on protoype click?
The only way I can find is to have two frames set as different modes and move between them.

5 replies

Celine_
Figmate
Community Support
October 6, 2023

Hi James! Not at this moment, I can confirm that modes can’t be changed via prototype interaction.

Alexandre_Istrasoft
February 12, 2024

Hello @Celine_Figma, any news on that one ? seems like an obvious candidate for a prototype interaction to avoid duplicating an impressive amount of frames … What do you think ?

djv
Figmate
Community Support
February 13, 2024

Hey @Alexandre_Istrasoft, thanks for the feedback!

We’ve passed this onto our team for consideration and updated this topic to a feature request to gauge interest from the community. Feel free to Vote up top! ☝️

Stephanie_Walter1
March 18, 2024

Hi, I’m upvoting this.
My usecase is: I have a dashboard with sidebars on the left and the right. Right one can be expanded / collapsed.
I played with mode and variables to make components that adapt (using size variables) depending on, if the right sidebar is collapsed or not. So I have 2 modes: right sidebar open / right sidebar collapsed.
I would love to have an action on a button in that sidebar that would basically switch the mode of the whole frame, from one to the other to “simulate” that.

June 6, 2024

Very useful to avoid duplications. A few common use cases would be: Default/Dark theme switching…Language switch