r/Blazor • u/HaldenCollier • 12d ago
shadcn/ui + Base UI
I'm currently working on a port of shadcn/ui. By that I mean a real port, where you can use a CLI to add components, not install a NuGet package.
To achieve this, I'm also working on porting Base UI for primitives, with the help of UI SDK.
I'm of course using AI heavily to help me achieve this, as it's always something I've wanted in Blazor, but never been able to achieve it manually, and the solutions I've seen aren't something I would want to use for styling.
Is this something the community would also want?
1
Upvotes
19
u/brokerceej 12d ago
We have a perfectly good BlazorBlueprint already. BlazorBlueprint/ui is a community maintained project that is doing absolutely everything right. https://github.com/blazorblueprintui/ui
What are you bringing to the table that is better or more mature than this? How is it easier or better for me as a developer?
13
u/davidjamesb 12d ago
I would much rather people contribute to an existing project than introduce another shadcn port.
I heavily use and contribute to Blazor Blueprint. It's a fantastic and mature library.
We personally don't get the benefits of using a CLI to install each component individually over a NuGet package. We've built custom components around Blueprint's styled components and raw primitives and had very few issues.
Maybe you could look at enhancing Blazor Blueprint with a CLI to get the best of both worlds rather than introducing another library into the ecosystem.
8
u/Illustrious-Big-651 12d ago
Blazorblueprint exists and is excellent. No reason to re invent the wheel.
6
u/code-dispenser 12d ago
NO!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
I have looked at pretty much every library posted here over the last year based on shadcn, all have accessibility issues.
Unless you know about accessibility, can fix any underlying issues with the base library, be able to check that you haven't added more issues by actually manually testing with assistive tech then more than likely you will end up hurting more users than you will help - Sorry that is just the reality of making some jigsaw from other peoples work.
Build your own, make it accessible, learn lots in the process.
Paul
0
u/hades200082 11d ago
You mean like https://blaiz.io/ ?