New properties and variants are pretty powerful

You can now turn what was 15 individual variants into one variant with the new Component properties and absolute positioning :open_mouth:

Screen Shot 2022-05-11 at 11.04.58 am

They seem a bit harder to understand but will prune a lot of fat in design systems.

2 Likes

Iā€™m struggling with this a bit. I want to have three styles of card, white, grey and borderless. All three have different shadow elevation depths. I feel like ā€œInstance swapā€ seems the most obvious route to swap between styles, like you used to do with say ā€œSizeā€ value drop down but now all Iā€™m getting is the ā€œnot used within this componentā€ message.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.