DEV Community

Sten
Sten

Posted on

How do you style components with React Native?

I'm a huge fan of styled components and I use them extensively with React. I find the code much clearer without inline styles, and I can build some kind of UI Kit easily with it.

I can't recall where I read that, but it seems that they're not as great for React Native. Can anyone share their experience, and whether they have a similar solution?

Discussion (6)

Collapse
guidovizoso profile image
Guido Vizoso

I use Styled Components without any problem so far

Collapse
stenpittet profile image
Sten Author

That's what my intuition is, so this is reassuring.

Collapse
imrvelj profile image
Ivan Mrvelj

++

Collapse
code_maestro profile image
𝔱𝔥𝔢 𝔴𝔞𝔯𝔪𝔢𝔰𝔱

I'm currently using Native Base and Styled Components, for the moment everything is looking pretty && working just fine :)

Collapse
kayis profile image
K (he/him)
Collapse
stenpittet profile image
Sten Author

Thanks, I heard about glamorous but I haven't had a chance to try it yet. Will look into it.