shadcn/ui is great! But what if...
Ғылым және технология
Shadcn/ui is great, components are good-looking, easy to setup and customize, and everyone likes it… BUT, as everything, it has some downsides.
Most of the reviews are 100% positive, but I think it’s also worth mentioning what are the tradeoffs in order to make an informed decision before adopting a tool.
After using it for a few months, these are my thoughts.
_______________________________
Support my work: github.com/sponsors/Balastrong
Hit like and subscribe for more content! :D
Beginner-Friendly Open Source Projects: github.com/DevLeonardoCommunity
Join the Discord community! Here's the invite: / discord
You can also follow me on the other platforms:
Twitter: / balastrong
dev.to: dev.to/balastrong
GitHub: github.com/Balastrong
Home: leonardomontini.dev/
TikTok: / balastrong
Instagram: / devbalastrong
#shadcn #react
Пікірлер: 19
I think it depends on who’s the intended user. I would say shadcn is a great starting point for someone who wants to have the flexibility to modify their ui components. And as you highlighted this flexibility comes with a cost, which in this case is not monetary…
If there is a problem with shadcn you can make a pull request. If you are using MUI are forced to fix a bunch of random breaking changes because you wanted a newer version for a single component or bug fix. MUI and things it are terrible
Thanks for mentioning this, it has been very valuable for making my decision (I will stick with JoyUI).
The aforementioned arguments are valid, but imo they're just small caveats. One point about big codebases is a good thing to consider but shadcn is still better then a component library. What you trade off with shad you'll pay when fighting against a library or hacking it to do something that it was not designed to do.
@DevLeonardo
Ай бұрын
Yeah, I agree with that. There are some tradeoff like everything but so far it seems they're better than the ones with other libraries/approaches.
@austincodes
27 күн бұрын
It sucks when a library takes you 90% of the way there to your solution. Then the last 10% is hell because you have to hack it into doing something it wasn't designed for. Breaking changes and updates are also a pain. I'd so much rather own my code
Hello, could your suggest alternative library instead of shadcn ? Thank you
@xxxxxxxxxxxxxxxxxxxxxxxxx981
14 күн бұрын
nextui is good and it's an actual library. it has a premium side, but it's optional
@SirJagerYT
4 күн бұрын
DaisyUI
The problem is that all other libraries (MUI, next-ui, etc) all look bad by comparison. Vercel has mastered the look, and shadcn/ui is the only one that looks close.
Can’t use it on react native
"Dependency Hell" Thanks for pointing this out.
I think we can come up with a solution
What about solution , i hate the way chakra material and mantine works with classic css or css in js (emotion) i really like tailwind
@jamiuadeleye
6 күн бұрын
Tailwind also works well with mantine.
am now afraid of updaing the depndancies because all the radix ones wil update and something will bvreak . parkui better imo snec they only use ark ui which they also maintain , it also workswith solid ans sveltte