Cashmere doesn't currently have a component that functions well as a toggle. A split button is close, but doesn't really have the active state that a toggle would.
I think this makes the most sense as a separate component rather than a sub-component of button - just based on how it would be used. The button toggle should support n number of options (not just 2).
Describe your idea
Cashmere doesn't currently have a component that functions well as a toggle. A split button is close, but doesn't really have the active state that a toggle would.
See this Angular Material component for an example of what we'd want: https://material.angular.io/components/button-toggle/overview
I think this makes the most sense as a separate component rather than a sub-component of button - just based on how it would be used. The button toggle should support n number of options (not just 2).