Skip to main content
Prabaharan_CS
Jul 26, 2023 8:33 PM UTC

Boolean Variables Assignable inside component

To make reusable components with variables, it is better to have Boolean variable inside a component. Kindly add that function in upcoming release

6 replies

Josh
Former Community Manager
Jul 26, 2023 8:42 PM UTC

Hey Prabaharan, thanks for sharing this idea. Variables are still very much in beta and we’re definitely going to be improving them as time goes on. Support for boolean variants is definitely something we’re considering. Thanks!

Tara_Price2
Active Member
Nov 21, 2023 6:41 PM UTC

Yes please this.

Eugene_S
New Member
Aug 15, 2024 9:55 AM UTC

Yes please!! For example, right now I can’t easily show chip / button sepcs with and without icons.

E.G. buttons should have less padding on the side of icon, but only when buttons have an icon, otherwise the full padding. Right now if I apply boolean to icon, inside same component, I can only turn ALL icons off OR turn ALL on.

So I can’t easily show spec states with AND without icons inside same component.

Maaike_Beenen
New Member
Oct 7, 2024 12:02 AM UTC

Yes, desperately would need this! Would save sooo much time! <3

Pamela1
Dec 19, 2024 4:01 PM UTC

There seems to be an update. now I can’t even assign a variable to a component instance. so sad! And if I copy an instance that has a variable I cant change that variable!!! This is driving me insane! I have heard people started to code their prototypes instead, seems faster. Please help!