material-components / material-components/material-components-android
[button group] Implement square button group
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 17.4k
- Forks
- 3.2k
- PR merge metrics
- No merged PRs in 30d
Description
**Is your feature request related to a problem? Please describe.**
The square button group is not implemented?
https://m3.material.io/components/button-groups/specs#0d2cf762-275c-4693-9484-fe011501439e:

https://github.com/material-components/material-components-android/blob/master/docs/components/ButtonGroup.md
**Describe the solution you'd like**
Implement the square button group. Add its documentation and example.
**Describe alternatives you've considered**
```
<item name="shapeAppearance">@style/ShapeAppearance.M3.Sys.Shape.Corner.Small</item>
```


Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start from the existing MaterialButtonGroup component and compare its behavior with the linked Material 3 and Android ButtonGroup specifications. Add the square variant using the requested shape appearance, then add the documentation and example; completion means the square group matches the reference images and is documented.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, java
- Domain
- design, documentation, mobile
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100