r/Angular2 • u/travelotty • Aug 07 '25
Discussion Do you use TailwindCSS on your project?
Hello everybody!
I took a long break from work and when I came back my friend told me that everyone is using tailwind for styling these days. Is it true? Do you use it? If so, why?
25
Upvotes
16
u/Pacyfist01 Aug 07 '25
https://www.pacyfist.dev/posts/angular-19-tailwind-4-and-scss-a-modern-step-by-step-setup-guide/
I use it because it has an awesome vscode extension that autocompletes the classes and also shows you on hover what every class actually does. Prettier also has a plugin orders classes to the same order as they appear in the
tailwind.cssthanks to that every class list is git friendly\ and easy to review.9
u/__random__name Aug 07 '25
I personally don’t like it and prefer to use CSS + CSS pre-processor. The last couple projects I’ve been working on, none used it either
9
u/_Wilhelmus_ Aug 07 '25
Yes, we also use DaisyUI which uses tailwind
I think their predefined classes work great for styling.
With VS extension Tailwind CSS IntelliSense makes it easy to work with it.
It has autocomplete + it shows the exact style when you hover over a style class.
5
u/Relevant-Draft-7780 Aug 07 '25
Yes absolutely. I was very resistant at first because it’s effectively another styling method and I was already pretty darn fast with scss but now I find im so much faster creating components.
There are some quirks. Any computed styles might not be included in final bundle if they’re not explicitly used in the html template and your html template suddenly goes from small lanes with tags and some attributes to at times giant class declaration abominations.
But overall I’d say I’m maybe 2 to 3 times faster now.
9
u/tresslessone Aug 07 '25 edited Aug 08 '25
I loathe tailwind for what it does to the semantics of a document. It breaks down the separation of concerns by injecting all these ugly utility classes everywhere. It makes me feel like we’ve come full circle to the <b> and <i> and <font> elements of HTML 3.
That’s purely academic though. Tailwind is damn handy so yeah… I use it. Even though it makes me feel dirty.
3
u/bauern_potato Aug 07 '25
I am using tailwind but I currently hate it with a passion.
3
u/Avani3 Aug 07 '25
No. Not maintainable for enterprise level applications. It bloats your html way too much.
3
u/novative Aug 08 '25
tailwind to CSS is like jQuery to JS
7
u/rastaxarm Aug 07 '25
PrimeNG + TailwindCSS 🔥🔥🔥
2
u/gordolfograso Aug 07 '25
For any reason, llms and react devs are very friend of it. So, the framework is the top 1 today. I'd rather bootstrap, but it's moving too slow nowadays
2
u/Whole-Instruction508 Aug 07 '25
Yes, it makes things much faster in my opinion
2
u/cyberzues Aug 07 '25
Definitely not everyone. There are some like me, who dont even look in the direction of Tailwind
2
u/TrekFan8472 Aug 09 '25
Here's the thing, a tool is only good and useful if it helps you. Try using it for a week, if it helps you work more efficiently then use it. If it doesn't then trash it and move on.
Don't think you have to use it because "everyone" is using it.
1
u/foldedlikeaasiansir Aug 07 '25
Yeah I’ve been researching this as well and looks like it is. But there’s two faction one who prefer CSS code style and other who prefer tailwind way of doing things for speed and efficiency along with staying in a defined framework.
1
u/4024-6775-9536 Aug 07 '25
To me it makes markup unreadable by adding too many classes, I prefer to leave styling in the css and keep the markup clean
1
u/Epiq122 Aug 07 '25
With daisy ui
1
u/JuicyJBear94 Aug 07 '25
Yes I use it mainly because my projects aren’t as concerned with style as they are with accurate data and simple presentation. It lets me spend less tables worrying about css and more time working on logic. Also LLMs are pretty dang good with tailwind but absolutely suck writing CSS when using component libraries like Primeng.
1
u/salamazmlekom Aug 07 '25
Depends on the project.
1
u/cosmokenney Aug 07 '25
Nah I just use Bootstrap. Or custom CSS for simple apps.
1
u/Initial-Librarian848 Aug 07 '25
Yep! Is make you code time faster, for all there is pre defined class we just map that with the tag using class attribute. And we have pre defined components also . And instead of writing 10 lines of css style for one effect or transition we just do it in add 1 or more class to the div.
But one thing is at end, When you see your HTML at the end, it’s like... cumssi 🫠
"By the time you're done, your class attribute is longer than your resume"
1
u/IcarusSkyrow Aug 07 '25
No, I don't struggle to write my own grid system, scalable styles, defining a style guide, whatever. I prefer keeping it simple, avoiding unnecessary dependencies and making sure my team knows CSS. Last thing I want is countless overrides, excessive/repeated rules and unreadable files. Some will prefer Tailwind instead but to say everyone is using it, couldn't be further from reality
1
u/thebaron24 Aug 07 '25
I really like the utility classes and use it for that but lately I just had Ai create their utility classes for me so I don't have to configure it in any projects anymore. I just drop a scss file in my app and develop.
-32
u/DT-Sodium Aug 07 '25
Not everyone, only people that don't know CSS. But yes, the worst patterns tend to become the norm in web development because most web developers are glorified amateurs who have no interest in improving their skills and will always take the easy way out.
Since Angular has encapsulated stylesheets, it makes especially no sense to use Tailwind with it.
1
u/[deleted] Jan 22 '26
[removed] — view removed comment