Re:Show HN: Open Source TailwindCSS UI Components
by jprosevear on Wednesday April 17, 2024 @08:24AM
(#40063643)
Not affiliated: https://daisyui.com/
[ Parent
| on HN ]
Re:Show HN: Open Source TailwindCSS UI Components
by blowski on Wednesday April 17, 2024 @08:28AM
(#40063700)
Also https://flowbite.com/ (and I'm also not affiliated).
Re:Show HN: Open Source TailwindCSS UI Components
by lelandfe on Wednesday April 17, 2024 @08:42AM
(#40063822)
There is something delightfully odd about a Tailwind project saying, "instead of writing 100 class names, use semantic class names" – which, yanno, is pretty much what everyone was doing already before Tailwind.
Re:Show HN: Open Source TailwindCSS UI Components
by notresidenter on Wednesday April 17, 2024 @08:47AM
(#40063871)
Yeah, I think the DaisyUI developers miss the point of Tailwind. You should almost never use "semantic class names" with Tailwind (and what even is a semantic class name, honestly? It's all context-, developer-dependent) and instead go for a component (using a js framework, a web component, or other) and write the component with utility classes.
Re:Show HN: Open Source TailwindCSS UI Components
by FireInsight on Wednesday April 17, 2024 @10:32AM
(#40065202)
I tried out DaisyUI and I think it had kind of best of both worlds and was pretty ergonomic. IMO the main issues with it were that it's just CSS (not much accessibility etc. thought out for me), but the design isn't that great (in practice writing custom components without DaisyUI could have gotten the same results).