Skip to main content

I am setting up a Design System and I was wondering if it’s really necessary to create all these Variant e.g. for a Tab Bar or other Components that have a different amount of Items that should be controlled through the properties. Do you maybe got any other best practices for that? I’d just love to make everything a bit thinner that there are not soo many different Variants needed.

 

As far as I can see from your screenshot, I can suggest you to reduce the component set exactly by half by applying a boolean property to the tab icons.


@tank666 Yes I know what you mean but I think it doesn’t work because it’s only allowed to show either all Tab Items with an Icon or none, and the Tab Items are a nested Component

 


Reply