callstack / react-native-paper

Material Design for React Native (Android & iOS)
https://reactnativepaper.com
MIT License
12.86k stars 2.09k forks source link

Update Switch design according to M3. #4177

Open soumya-99 opened 11 months ago

soumya-99 commented 11 months ago

In the latest version of react-native-paper, the switch component is like the old school M2 design. Update the design in M3.

New: https://m3.material.io/components/switch/overview

irekrog commented 11 months ago

https://github.com/callstack/react-native-paper/issues/3689#issuecomment-1436567611

huayunh commented 11 months ago

Totally this! I think it would be beneficial for at least the Android toggle switch to match what Material Design 3 specifies, and add the ability to use icons in the toggle switch knob. Like what Material Design 3 calls for:

image
rollingmoai commented 9 months ago

https://github.com/callstack/react-native-paper/issues/3797#issuecomment-1900914167

https://snack.expo.dev/@crystalarcus/material-switch

https://github.com/callstack/react-native-paper/assets/75471378/d6187904-65aa-40fd-a3ef-564914524255