DEV Community

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

Emil PrivΓ©r on May 30, 2020

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

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.