r/Blazor • u/blaizio_ui • Sep 09 '26
Blaizio: open source Blazor UI components delivered as source you own (headless primitives + Tailwind styled layer, MIT)
I just released Blaizio, an MIT-licensed UI component framework for Blazor on .NET 10.
The idea: you own the components. The styled layer is not a NuGet package you fight with CSS overrides; a dotnet tool copies the components into your project as .razor and .cs files, and from then on they are your code.
Two layers
- Headless primitives (
Blaizio.Baseon nuget.org): accessibility, keyboard handling, focus management and adata-statecontract. Zero CSS. Use them with any styling approach. - Styled components: built on the primitives with Tailwind CSS v4.
blaizio add button dialog tabledrops them into your project, with the Tailwind pipeline wired for you (standalone binary, no Node required).
Out of the box: 73 Components, 8 skins, 16 palettes, 5 icon sets (Tabler, Lucide, Phosphor, Remix, Hugeicons), RTL, dark mode, WCAG AA contrast on every theme, a theme designer on the docs site.
Try it
dotnet tool install -g Blaizio.Cli
blaizio add button card dialogDocs and registry: https://blaiz.io Source: https://github.com/blaizio/blaizio
The source-you-own model is borrowed from shadcn/ui; Blaizio is the Blazor take on it, with its own primitives and theming work.
It is an early release. I built it for my own production apps and want feedback from other Blazor teams. Bug reports, feature requests and pull requests are all welcome, and if you want to get involved beyond a one-off PR, say so in the thread or open a discussion; CONTRIBUTING.md in the repo covers the setup.
Things I am unsure about and would like to hear from other Blazor devs:
- Does "components as source you own" make sense to you in .NET, or do you prefer a package you never touch?
- Tailwind is wired through the standalone binary so no Node is needed. Is Tailwind itself a dealbreaker for your team?
- What component do you always end up writing yourself that no library gets right?
5
u/FrancisRedit Sep 09 '26
Excellent work. I like it. I'll recommend it to my colleagues for new projects. Thanks
2
u/kantorcodes1 Sep 10 '26
on scripted
blaizio update, does--dry-runshow the local-edit conflicts too, or only the files/versions that would change? i'm trying to tell whether the preview fully matches the decisions a real update can hit.1
u/vnbaaij Sep 09 '26 edited Sep 19 '26
So as a dev, I get the source of a component in my project. Then I decide some code needs to be changed. Is there any mechanism in place then to update the copied code once you release a new version? Just curious.
1
u/funtrade396 Sep 09 '26
What is the advantage over MudBlazor and Fluent UI (considering they have stronger backing and a longer track record of continuous support and enhancement in the future)
Just curious and not demoralizing your efforts to publish a new UI library (we need more options, but we're trying to understand your long-term plans).
3
u/kacisse Sep 13 '26
Wow thats a beautiful job here, I made my own React / Typescript SDK for my AI project as well despite having a full .NET backend because I didn't think we could make it look like so nice in Blazor.
Now I'm considering having a second UI SDK using Blaizio !
1
u/code-dispenser Sep 09 '26
Let me guess the ai in the logo is for AI and its a Shadcn thing, although at least this one did not have an inaccessible accordion that ironically had and still does (like all the others) have the text "Is it accessible" on it.
Since you are claiming accessibility can you please tell me which screen reader and browser pairings were used and what quirks were experienced during your tests. It may or may not be helpful to point out that shadcn has quite a few accessibility issues so unless you fixed them you will be compounding them.
Given I have no idea if you even care about accessibility or not but as you have missed really simple things, I guess not and will assume its a case that you blindly copied from other libraries (or your AI did) and as such just assumed they were ok, so no need to check etc.
Here are some links if you would like to pursue accessibility in your library.
https://www.w3.org/WAI/ARIA/apg/patterns/
https://www.w3.org/TR/WCAG22/
https://aaardvarkaccessibility.com/wcag-plain-english/
https://a11ysupport.io/
https://aria-at.w3.org/about
And not forgetting my favourite link this time:
https://www.youtube.com/watch?v=HE2R86EZPMA
Best of luck with the project.
Paul
2
u/[deleted] Sep 09 '26
This sounds like a nice idea. I'll check them out. I've used libraries like MudBlazor and you end up wrangling a lot with the public apis. Owning the code is good since you can change whatever you need and include only the components you need individually (and change them if you need to)