Skip to main content
Solved

How to ensure a boolean component retains that value in another frame?


Hey everyone! Figma noob here so bear with me & my clunky terminology!

I have a like component which has 2 states - liked and default. In the prototype you can like one or many pictures in a gallery, but if I go to a specific picture that the user has liked, is there a way of making sure the picture remains liked?

Thank you for your time 😃

Best answer by Yehia

@Nastassia1 One trick in Prototyping to make Figma remember your state is to put your screens in different Sections. When you navigate away from the screen in a Section, and go to a different section, going back Figma should remember where you were.

Try it out.

View original
This topic has been closed for comments

2 replies

Yehia
  • 52 replies
  • Answer
  • May 17, 2023

@Nastassia1 One trick in Prototyping to make Figma remember your state is to put your screens in different Sections. When you navigate away from the screen in a Section, and go to a different section, going back Figma should remember where you were.

Try it out.


That’s great! I will try it out, thank you for your help!


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings