callstack / callstack/react-native-paper
RadionButton doesn't seem to implement MD3
- Dominant language
- TypeScript
- Stars
- 14.5k
- Forks
- 2.2k
- Avg merge
- 5d 23h
- Merged PRs (30d)
- 12
Description
### Current behaviour
According to the MD3 spec (https://m3.material.io/components/radio-button/guidelines), `RadioButton` should have a different look-n-feel than it currently does. For example, in "leading" mode the label should follow the button after some margin but instead its right-aligned towards then end of the screen:
```tsx
```
### Expected behaviour
`RadioButton` should match the MD3 spec.
### How to reproduce?
Just use `RadioButton` and compare it to the MD3 spec.
### Preview

### What have you tried so far?
Tried different combinations of `RadioButton.Group`, `RadioButton`, and `RadioButton.Android`.
### Your Environment
| software | version
| --------------------- | -------
| ios | x
| android | x
| react-native | 0.71.14
| react-native-paper | 5.11.4
| node | 18.16.1
| npm. | 9.5.1
| expo sdk | not used
Contributor guide
Research direction
Start with the RadioButton, RadioButton.Group, RadioButton.Item, and RadioButton.Android entry points, then compare their current rendering with the linked Material 3 radio-button guidelines. Verify the leading-position label alignment and the other documented visual differences across the supported variants; done means RadioButton matches the referenced MD3 behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react-native, typescript
- Domain
- design, frontend, mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100