Why no classes on components?
The regular style panel is there for any scenarios where you 'd do "one -off " styles You can set all the styles you need on the SC button from the styles panel (hover , active , disabled , etc ) Yes I do that for my own components . But for example in the scenario seen in the screenshot , I 'm wrapping the sc -button component from Spark Core which comes with its own pre -defined styles . I want to add my own conditional styling to that , e .g . having a "selected " state , which I would normally add through a class that references a true /false variable But for your own , you can set those yourself from within the component I find myself building workarounds for those things all the time I 've never had that issue with my own components though so I 'm biased lol "Selected " would make more sense than active , not to be confused with the pseudoclass And btw Spark Core also has a Toggle component that I could use , but then I 'd have to duplicate my button styling into that component just for that one "selected " feature Would just make life easier to be able to "extend " the styling capabilities of (package ) components But including every aria attribute possible in a package component is not realistic