Blaizio.Base
0.3.9
dotnet add package Blaizio.Base --version 0.3.9
NuGet\Install-Package Blaizio.Base -Version 0.3.9
<PackageReference Include="Blaizio.Base" Version="0.3.9" />
<PackageVersion Include="Blaizio.Base" Version="0.3.9" />
<PackageReference Include="Blaizio.Base" />
paket add Blaizio.Base --version 0.3.9
#r "nuget: Blaizio.Base, 0.3.9"
#:package Blaizio.Base@0.3.9
#addin nuget:?package=Blaizio.Base&version=0.3.9
#tool nuget:?package=Blaizio.Base&version=0.3.9
Blaizio.Base
Headless, unstyled Blazor UI primitives: behavior, accessibility and state - not one line of CSS. The foundation the styled Blaizio components are built on, and a standalone toolkit for building your own design system.
What you get
- Primitives for accordions, dialogs, dropdowns, popovers, comboboxes, calendars, carousels, tooltips, trees, and more - each rendering the correct element with the correct ARIA roles and keyboard behavior.
- A
data-state/data-*attribute contract on every interactive part (data-state="open",data-[side=top], …) - style the states with whatever you like: Tailwind, plain CSS, CSS modules. RenderAson every interactive part: render your own element and splat the provided attributes - ARIA,data-*and event handlers ride along.- JS interop (focus scopes, dismissable layers, height measurement, typeahead…) served from
_content/Blaizio.Base/dist/- ES modules behind typed services, no globalwindowstate, nothing to copy into your app.
Setup
builder.Services.AddBlaizio(); // optionally AddBlaizio(o => ...)
@using Blaizio
Prerendering-safe: interop attaches after render and every reference is disposed with the component.
Relationship to the rest of Blaizio
The styled layer (Blaizio.Ui, copied into your app by the blaizio CLI) dresses these
primitives with Tailwind classes. Mix freely: styled components where they fit, raw primitives
where your design diverges - same behavior and accessibility either way.
Documentation
Visit https://blaiz.io/docs/base to view the documentation.
Community
- Release news and previews: @blaizio_ui on X
- Questions and ideas: GitHub Discussions
- Bugs and feature requests: Issues
License
Licensed under the MIT license.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- Microsoft.AspNetCore.Components.Web (>= 10.0.14)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Blaizio.Base:
| Package | Downloads |
|---|---|
|
Blaizio.Syntax
Syntax highlighting for Blazor, in C#: SyntaxText splits code into runs of one kind (keyword, string, type, ...) per line, for 19 languages built in (C#, Razor, JSON, bash, PowerShell, TypeScript, HTML, CSS, SQL, YAML, Markdown and more). No script, so it works the same in static rendering, Blazor Server, WebAssembly and prerendering, and SyntaxDocument re-tokenizes only the lines that change. Add languages with SyntaxGrammar or Blaizio.Syntax.Languages, configured in AddBlaizio. |
GitHub repositories
This package is not used by any popular GitHub repositories.