Skip to main content
Solved

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

  • May 17, 2023
  • 2 replies
  • 374 views

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.

This topic has been closed for replies.

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.


  • Author
  • 1 reply
  • May 18, 2023

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