DEV Community


Discussion on: TailwindCSS vs Styled-Components in ReactJs

almarrr profile image
Almar Groenewald

There are times when I need animations and other complex stuff which isn’t in Tailwind. Then I like the styled component syntax for hovers etc. Also it improves the readability of my code, like Is very clear. And I also can add class names to it from tailwind.

Thread Thread
willholmes profile image
Will Holmes Author

Ahhhh I like that! Throughout building my Tailwind app I've noticed the lack of animations and have had to resort to CSS. But never thought to combine the two! I like the approach!