Hacker News new | ask | show | jobs
by maxloh 18 days ago
There are still not many component libraries for Solid. But if I needed to build something from scratch, I would definitely try Solid.

It just feels like the right way React should be.

3 comments

I disagree.

Vercel's UI SDK just launched with Solid support.

Theres also Kobalte, Ark UI, Park UI, Solid UI, Shadcn Solid, Corvu, Material Design Solid, and more.

What exactly does UI SDK do? The site doesn't make it clear.

Appreciate the the other examples though.

Vercel UI SDK is a "headless" UI tooklit. "Headless UI" is packaging of behavior that has to be implemented in javascript to get properly working widgets.

For instance, to implement a menu you have to support things like keyboard navigation and auto-closing when the user clicks elsewhere.

Gettings these sort of behaviors right across all browsers is oftentimes _hard_, and testing them properly is very time consuming. That's why it's useful to have it built and tested by a large company.

Traditionally, these behaviors came built-in with your "UI Widget Library" of choice (e.g., https://ant.design/). However, widget libraries bring in their own style and subtle opinions. When you are aligned with those everything is great, but when you want to deviate visually or behaviorally then you have a hard time.

In contrast, "headless UI" packages these behaviors (and only the behaviors) as little snippets that you "plug in" to your own widgets/components. Since how these behaviors get to be "plugged in" to components and how they can interact between them may be dictated by the UI framework/library (e.g., react, astro, solid) the headless ui kits explicitly call those that they support.

For Vercel UI SDK specifically, you can check the list of behaviors they implement here https://ui-sdk.dev/docs/core/behaviors

Who’s still using Vercel after they met with Netanyahu..???
You are being downvoted, but I surely don't want to be in any way associated with a genocidal monster, so your question is valid.
Imagine people scrambling to migrate away from their nextjs or react codebases, because Guillermo Rauch met with Netanyahu...
Imagine people believing morality and acting on it?!

I literally did, for a bunch of my projects and the ones of clients. A friend even did it for a pretty big brand that had a juicy Vercel bill. Burn in hell Guillermo

> Burn in hell Guillermo

That is a bit of an over-reaction.

I don't think so.
Who's still voting Trump after he met with Netanyahu..???

I'm being facetious, but what would you expect?

Dependency management inside components is much saner that's for sure.
These days are component libraries even necessary
Of course, if you want two applications to look the same.
That's a design system. You can make that for your own apps yourself.
A design system is the thing in Figma. A component library is the code that implements that. Why wouldn't you want a component library as a reusable implementation, even in the age of AI?
not only look the same, but perhaps even more importantly, behave the same.
"make these two applications look the same" works surprisingly well.
The worst thing about AI is super inexperienced devs doing hot takes like these.
I have 20 years of experience.