[material-ui][ToggleButtonGroup] Add functionality to keep buttons separate #45569
Labels
component: toggle button
This is the name of the generic UI component, not the React module!
new feature
New feature or request
package: material-ui
Specific to @mui/material
waiting for 👍
Waiting for upvotes
Summary
Currently it's not possible to easily separate buttons in
ToggleButtonGroup
component.If you try to do that i.e. by using CSS gap property, then as you can see left borders are missing
https://stackblitz.com/edit/react-kkov5aav?file=Demo.tsx
Examples
No response
Motivation
In Joy UI you can set spacing for buttons in
ToggleButtonGroup
. Material should also have this feature:Search keywords: ToggleButtonGroup, separate
The text was updated successfully, but these errors were encountered: