Customize the Material 3's Switch component in Jetpack Compose

719 Views Asked by At

Switch example Is there a way to customize Material 3's Switch appearance and behavior?

I have seen some examples of customized components in the Now in Android Case Study Figma file, I wonder if these components are available as a library that I can use in my app, or if there is a way to access their source code and modify them.

Any help or guidance would be appreciated. Thank you.

I have tried to change the border thickness and the thumb size of the Switch, but I could not find a way to do that. I wonder if Google has updated the Switch component or has another new way to edit existing components.

1

There are 1 best solutions below

1
Hanif Shaikh On

Please check this blog. I think it will help you a little bit link