[ToggleButton] Add a color prop #23755
Labels
component: toggle button
This is the name of the generic UI component, not the React module!
design: material
This is about Material Design, please involve a visual or UX designer in the process
new feature
New feature or request
Summary 💡
Add a color prop to ToggleButtonGroup to allow the active button to have an alternative color
Examples 🌈
One use-case: #23754
(Note that this example also uses a darker color than the default for the unselected text and icons.)
Edit: It seems there's an example in the spec:
https://material.io/design/interaction/states.html#activated ("Active state inheritance")
However this is in contrast to the Toggle Button spec: https://material.io/components/buttons#toggle-button
Motivation 🔦
The above example needed custom styling.
The text was updated successfully, but these errors were encountered: