r/reactjs • u/TibzW97 • Jun 30 '26
Show /r/reactjs What would make you actually try a new React component library?
I’m building a React component/template library at the moment, and I keep coming back to the same question:
Why would anyone bother trying a new one?
There are already loads of options. Some are great, some are just nice screenshots with awkward code underneath.
I’m trying to avoid making another “look at this beautiful card component” library, because honestly, buttons/cards aren’t usually the part of an app that slows me down.
The annoying bits are things like:
- dashboard layouts
- settings screens
- auth flows
- data-heavy sections
- onboarding/product tour patterns
- empty states
- billing/pricing sections
- components that still work once real content gets added
So I’m curious: what would make you actually try a new React component library?
Copy-paste ownership? Better full-page examples? Less abstraction? Better docs? More practical sections? Something else?
And what’s an instant red flag?
27
u/metal_slime--A Jun 30 '26
I need my component library to express very minimal atomic components that are highly composable. I usually don't need a 'card'. I have to build one out of smaller pieces.
I need it to be highly themable. Can't pin my brand on some generic soulless aesthetic that makes it look like every other app
Also needs to be reliable and performant. Should have minimal APIs that are necessary for the thing to do it's job
8
u/Commercial_Echo923 Jun 30 '26
Imo UI is solved. Also i like css/scss so any abstraction from it would be a bummer.
4
u/plmunger Jun 30 '26
Maturity/completeness, customizability, themability and accessibility.
4
u/WanderWatterson Jul 01 '26
I like mantine style, by default it looks nice, but if you need to adjust something you can always drop in some small custom CSS and you should be set
3
u/mrDisagreeable1106 Jun 30 '26
if it was a web components library.
3
u/jax024 Jun 30 '26
A really niche UI style like if there was a Shadcn that looked like old Diablo 2 UI. I’d use that.
3
u/Kitty_Sparkles Jul 01 '26
Accessibility-first components.
2
u/farzad_meow Jun 30 '26
honestly it comes down to completeness and customization.
i personally use react-hook-form so i want to be able to customize using that and put wrapper around it. I also add place holders for field name, error message, and description.
second is table layout. i hate the format where search has a big search field. i prefer per column filters because I found it simpler for non tech users to interact with it.
when it comes to completeness, there are various forms parts and components that not everyone has like datetime selector or graph display.
2
u/Coldmode Jun 30 '26
$10,000 American dollars.
2
u/CodeAndBiscuits Jul 01 '26
Nothing. Tbh it's been a few months since I cared about component libraries at all. With my employer actively encouraging the use of AI tools, it just feels unnecessary now. It's not that "Opus can do ShadCN". It's that I just don't need one any longer. As long as I'm careful to set up rules about things like Aria and i18n these days it seems faster to just code everything directly than to use a library for it. I don't think I've built two pricing tables the same way in my career because product and marketing teams always want them to look so distinct. So I'm not sure a component at that higher level even makes sense anyway...
2
u/Glum_Cheesecake9859 Jul 01 '26
I need everything and the kitchen sink library so I don't have to run around different places. Prime React was my current go to lib. Partly because I also dislike ShadCN / Tailwind crap, and the v10 of Prime React didn't have it. Now with v11 looks like it got into the same boat as others.
Most component libraries also have a satellite section for icons, pre-built blocks, themes albeit for a price.
Regarding auth, state management, the problem is is everyone has different needs. Specially enterprise developers.
2
u/chillermane Jul 01 '26
Literally nothing
2
u/_suren Jul 01 '26
For me the trigger is not “more primitives”, it is complete product surfaces: dashboard layout, settings, auth, billing, data table, empty/error/loading states, etc. The red flag is a pretty demo that hides too much behind props.
I am building UIPKGE, so I am biased, but that is why I lean copy-paste/source-owned: https://uipkge.dev/react/blocks
2
u/Rowdy5280 Jul 01 '26
Based on reading your replies, the fact you are using shadcn as a base, which it self is a combination of a headless component library (Radix/Base), tailwind (CSS/styles) with a basic theme. It sounds like you want to build app templates?
Honestly though, I’m not convinced you know exactly what you want to build.
2
u/Heavy-Commercial-323 Jul 01 '26
Tbh nowadays I mostly care about single point of entry styling theme, it can be compiled to different things, I don’t care as long as it’s in one place, perfectly aligned and not inline.
Tailwind was cool, but it sucks in the long run.
Other than that probably good advanced components like calendars/data grid/… and mechanisms for performance like virtualization properly implemented.
I don’t care about layouts and stuff like that - with modern css it’s basically 5 min for everybody
2
u/pladynski Jul 01 '26
I would look at how it’s AI friendly, how many tokens consumes to be utilized, maintained, how easily produces outputs that I want with simple prompts and how well agents understand docs how to use it.
2
u/amish1188 Jul 01 '26
If it’s web components based :p
1
u/horizon_games Jul 01 '26
Probably any of the existing React libs messing up as badly as PrimeTek did in the last few days when they archived their repos and went closed source at $799/dev
Otherwise the route in is often devs trying something new on a hobby project then recommending it at work
2
u/[deleted] Jul 02 '26
[removed] — view removed comment