Hacker News new | ask | show | jobs
by gherkinnn 24 days ago
I have used and mostly like Shadcn, and yet their Radix-based radio button was a bit much, as are other choices, where similarly overblown solutions were used.

https://news.ycombinator.com/item?id=46688971

1 comments

My main gripe with Shadcn and, well, most UI libraries nowadays, is that they are reinventing the wheel for like a thousandth time.

I’m trying out Ark UI on a side project. They do have some genuinely useful components, like tags input: https://ark-ui.com/docs/components/tags-input

They have a tabs/“segment group” component with a nice animated active element indicator which would probably be tricky to implement: https://ark-ui.com/docs/components/segment-group

And then they also have stuff like overcomplicated “click to copy” button and a <details> reimplementation: https://ark-ui.com/docs/components/clipboard, https://ark-ui.com/docs/components/collapsible

All with a verbose markup that renders as a div soup.

I think this is really an indictment of the platform. Much more stuff should be covered by the browser.
I vote we bring back <marquee> next: https://ark-ui.com/docs/components/marquee
this is actually true; the web was done so terribly to begin with on day one, that we have been paying the price of compatibility thereto ever since.
The web was for hyperlinked documents (and forms?). And it’s still does the job beautifully. It was never an UI toolkit.