Skip to main content

Ability to prototype non-variant property changes


mkippenberger

Currently, you can use prototyping features to change between variants of a component via the “Change to” interaction. However, a component may have properties other than variant properties, i.e., boolean, text, and instance swap. I would like to be able to modify these properties, too, when prototyping.

For my specific use case, I have a component with a boolean property that toggles the visibility of a child element. I realize that I could turn this boolean property into a variant property and be able to prototype the desired interaction via “Change to”. However, this would double the number of variants that I have (each existing variant in the off/false state and in the on/true state) which is not desirable, especially if you’re working with several boolean properties and the number of variants will grow exponentially.

0 replies

Be the first to reply!

Reply


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