Skip to main content
Question

Instance swap property propagates the variant change across all linked instances


martiankid



Hey, just wanted to bump this thread, as it’s been 2+ years and this issue still persists. It’s annoyin as hell and requires to create unnecessary wrappers just to eliminate this problem.

Solution: I’d expect the swap component property to only affect the component itself, not the particular variant of it. Therefore I could set multiple Slots to be of a single component type (eg Button), then fine-tune their appearances slightly via that component variants (eg Button: Primary | Secondary | Tertiary etc.).

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