s it possible to disable variants within a component?
Basically, If I want to disable the properties that I highlighted in the screenshot but within a variant. Which means, I need those properties with some specific CTA and also need to hide them in some other CTAS
It is not possible at the time to hide a variant property of a component. But you can do it with boolean property
Remove the two variant property Icon(right) and Icon(left)
Select all you Icon(right) on your component and then go to the right panel, on the
Layer section, click on the Apply boolean property icon at the far right
Redo the step 2 for Icon(left)
In the specific variant where you don’t want this two icons to be played with, just delete them.
No when you make an instance of your component with the specific variant the icon property won’t show
5 posts were merged into an existing topic:
Disabling parameters in nested components
Hey All, thanks for the feedback!
We’ve merged more recent comments with an existing similar topic here:
I think that’s the new feature “nested components” need to be more functional. For example: I have a card with nested component button. But the only parameter that i need to edit is icon on this button, all other settings useless in this component. I thinks it will be cool if i can disable some of nested component’s paramters like show icon or btn size and leave only icon-type parameter. And it will be more cool if i can make preferred icons for nested component (in this card i can choose betwee…
Be sure to Vote there for this capability!