DEV Community

Emil Privér
Emil Privér

Posted on

What is your go to CSS-in-JSS library?

There is many great CSS-in-JS libraries on the internet, Which one do you use and why?

Top comments (2)

Collapse
 
emma profile image
Emma Goto 🍙

I'm a big fan of the styled API that both styled-components and Emotion provides. I generally try and use Emotion, since it does have a smaller bundle size than styled-components.

Collapse
 
patarapolw profile image
Pacharapol Withayasakpunt

Nextjs with CSS or SCSS seems to do this well, with less overhead.

Nestjs also supports <style jsx> which is automatically scoped.