Build Your Own Compose Design Library for Great Good
You drop material3 into your project and start coding away, but say you want to change some style down the line: now you gotta do a full usage search, figure out if that specific usage is part of your change, and change it. In every single place.
Now, “Of course”, you’ll say, “this is Compose, so we should create our own composable and we will use that instead.” and you’d be right; this is the approach we will be discussing in this post. But there is one extra step that we can take to make this intent not only clear, but also enforce it as the default: modules.