I think HTMX and tailwind fit well together because I also see HTMX as a kind of "utility framework". It augments the standard html elements with additional capabilities using attributes and HATEOAS.
Also, their discord is very active and very very helpful
It’s concise; writing css directly in my html and not feeling like I’m cluttering the file makes readability great.
Debugging styling in SPAs is significantly easier since I can just glance at the DOM in the browser dev tools and be able to quickly find the CSS causing the styling issue (just looking through the HTML tree, not having to look through styling tool saves time)
DaisyUI is a library built on top of it; a lot of great snippets of styles elements there.
The config file; all custom configs are concise in one file.
It makes things like conditional styling or just if you have any state determining styling, it is very easy to do and readable
But in summary, honestly for me it’s just the direct in-html styling and conciseness. I’m a simple man
- Ripple UI
- Preline UI
- Hyper UI
- Flowbite, and
- Daisy UI
For many, Typescript / Tailwind simplifies the code, even though it has to be compiled.