#What would be the best way to style components in NextJs 13?
5 messages · Page 1 of 1 (latest)
I find CSS Modules to be very convenient. It just feels right, and anyone with basic CSS knowledge can work with them easily.
I'm using tailwind just because it's so fast to write, also "themeing" comes kinda out of the box.
It's hard to choose between CSS modules and Tailwind. I do like to write proper css instead of tailwind as the mental model is so different. It took me so long to style an input with Tailwind as I have to find the reference first in their docs. But I guess it gets better as you learn it.
i might be on the short end of the stick. I actually came to really like styled-components, but i'm currently getting an issue where the styles don't load until after the page is rendered. I wonder if there's a workaround for this, or if i will just have to bite the bullet and use something like css modules instead.