Is it just me or are components styled with materi...
# compose-desktop
s
Is it just me or are components styled with material theme by default? I’m struggling with styling text fields.
z
Components from the Material library are. If you’re using the
TextField
composable (instead of
BasicTextField
), that’s from the material library.
s
Aha, okay, thanks for the heads up 🙂
Guess it makes perfect sense when you say it like that 🤔 😅
z
Compose, more so than classic android view toolkit, is designed to be used in the context of specific design systems. So most of the components that you’d find as generic components in classic android are material-specific in compose. It’s relatively easy to implement components for your own design system on top of the foundation layer if you need to.
c
You can use
BaseTextField
which gives you similar behaviors but is less opinionated on the styling - hence giving you more control over the presentation that is NOT Material