News for hackers. Stuff that matters.
Re:Don't use Tailwind for your Design System by adamscybot on Wednesday January 11, 2023 @10:12AM (#34339276)
Right, huge +1 for Chakra. Chakra is basically tailwind but built on react primitives. It feels lot cleaner, and solves most of the issues mentioned.
Re:Don't use Tailwind for your Design System by franky47 on Wednesday January 11, 2023 @10:32AM (#34339541)
It's amazing for quick UI building.

Note however that this API is brought by Styled System [1], which Chakra uses (and exposes), and adds the component library and other niceties on top.

My only regret with Chakra is that it's a tad runtime-heavy, and it's not really adapted to static content. I'd love to see some sort of compiler that digests a React tree into rendered HTML + CSS, with minimal JS just for style interactions (is this what Svelte does?)

[1] https://styled-system.com/