DEV Community

yogeshwaran
yogeshwaran

Posted on

Why tailwind is trending recently ?

Oldest comments (8)

Collapse
 
yogeshktm profile image
yogeshwaran

I saw tailwind is trending now a days. Tailwind claimed it is utility based framework rather than a component based like bootstrap.

i found component based approach is a cleaner one than this utility based. discussions are welcome.

Collapse
 
fulopattila122 profile image
Attila Fulop

It's a matter of taste. I also prefer the modular approach, but many people including quite several colleagues of mine love the utility-based nature of Tailwind.

De gustibus non est disputandum

Everyone's personal preferences are merely subjective opinions that cannot be right or wrong, so they should never be argued about as if they were.

Collapse
 
yogeshktm profile image
yogeshwaran • Edited

yes choosing a framework is a personal preference. i just started this thread on my curiosity to know from the guys who love tailwind, how this utility approach works better for them.

Thread Thread
 
fulopattila122 profile image
Attila Fulop

I'll ask my prominent Tailwind teammate if he wants to elaborate on his views :)

Collapse
 
heyhusen profile image
Husen

To me, that's because class names in Tailwind are more like CSS properties. I find it easier to remember those classes than component based classes like in Bootstrap. Btw, I've used Bootstrap & Bulma before.

Apart from that, Tailwind provides an easy way to remove unused CSS. They also have IntelliSense for VSCode.

Collapse
 
yogeshktm profile image
yogeshwaran

Good to know that tailwind has the options to remove unused css and intellisense with VSCode.

i will try tailwind :)

Collapse
 
bobbyiliev profile image
Bobby Iliev

Here are a couple of posts that explain why TailwindCSS is good:

5 reasons to start using TailwindCSS
Why TailwindCSS is Dangerous

Collapse
 
yogeshktm profile image
yogeshwaran

Thanks for the links.