callstack / callstack/react-native-paper

feat: add Connected Button Group

Open
#4,979 0 comments 0 reactions 0 assignees View on GitHub
v6
Dominant language
TypeScript
Stars
14.5k
Forks
2.2k
Avg merge
5d 23h
Merged PRs (30d)
12

Description

According to the specs, the SegmentedButton is deprecated and replaced by Connected Button Group.

- Implement the new component according to specs: https://m3.material.io/components/button-groups/overview
- Reuse newly introduced tokens (shape, motion, typography, color etc)
- Extract component specific tokens for easier maintenance.
- Get inspired from TextInput/TextField, Switch, Checkbox, FAB components which have gone through modernization.

Related tasks:
- https://github.com/callstack/react-native-paper/issues/4936
- https://github.com/callstack/react-native-paper/issues/4928 (has a PR open already and we should reuse logic from there in this new component)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.