Bit.BlazorUI.AI
11.0.0-pre-15
dotnet add package Bit.BlazorUI.AI --version 11.0.0-pre-15
NuGet\Install-Package Bit.BlazorUI.AI -Version 11.0.0-pre-15
<PackageReference Include="Bit.BlazorUI.AI" Version="11.0.0-pre-15" />
<PackageVersion Include="Bit.BlazorUI.AI" Version="11.0.0-pre-15" />
<PackageReference Include="Bit.BlazorUI.AI" />
paket add Bit.BlazorUI.AI --version 11.0.0-pre-15
#r "nuget: Bit.BlazorUI.AI, 11.0.0-pre-15"
#:package Bit.BlazorUI.AI@11.0.0-pre-15
#addin nuget:?package=Bit.BlazorUI.AI&version=11.0.0-pre-15&prerelease
#tool nuget:?package=Bit.BlazorUI.AI&version=11.0.0-pre-15&prerelease
bit BlazorUI AI: The AI components package of bit BlazorUI
bit BlazorUI AI offers the UI of AI apps for Blazor: conversations, streaming, tool calling, agents, citations, artifacts, structured output and generative UI - as one coherent set of components rather than a pile of them.
Why choose bit BlazorUI AI components?
- Native C# and Blazor throughout: no JavaScript AI library is wrapped, no provider SDK is referenced, and no component knows which model produced what it is drawing.
- Built for streaming: Markdown that is still being written, JSON that is not valid yet, tool calls that have to be shown, approved, run and answered, and transcripts of hundreds of messages that never re-render the world per token.
- Part of bit BlazorUI: built on its components, styled by its theme tokens - dark and light, the Fluent 2, Material and Cupertino presets and right-to-left come for free.
- Universal Support: Compatible with all interactive Blazor modes - Server, WASM, and Hybrid.
Getting Started
To use bit BlazorUI AI components, follow these steps:
- Install the
Bit.BlazorUI.AInuget package.
using command line:
dotnet add package Bit.BlazorUI.AI
or using Package Manager Console:
Install-Package Bit.BlazorUI.AI
- Register its services, together with the transport that talks to your model (in every
Program.csthat renders components):
builder.Services.AddBitBlazorUIAIServices(ai => ai.UseTransport<MyTransport>());
- In the default document (
App.razororindex.html), add theBit.BlazorUI.AICSS file reference after the core one:
<link rel="stylesheet" href="_content/Bit.BlazorUI.AI/styles/bit.blazorui.ai.css" />
- In the default document (
App.razororindex.html), add theBit.BlazorUI.AIJS file reference after the core one:
<script src="_content/Bit.BlazorUI.AI/scripts/bit.blazorui.ai.js"></script>
- In the
_Imports.razor, add the usingBit.BlazorUIto make it available throughout the project.
@using Bit.BlazorUI;
- Start using BlazorUI AI components following its documents: https://blazorui.bitplatform.dev
The one interface you implement
Everything the components do is downstream of a single boundary. Implement it over a provider SDK, an HTTP endpoint, a local model, an orchestrator, or a fixture in a test:
public sealed class MyTransport : IBitAiTransport
{
public async IAsyncEnumerable<BitAiEvent> StreamAsync(
BitAiRequest request,
[EnumeratorCancellation] CancellationToken cancellationToken = default)
{
yield return new BitAiMessageStartedEvent();
await foreach (var token in _model.StreamAsync(request, cancellationToken))
{
yield return new BitAiTextDeltaEvent(token);
}
yield return new BitAiUsageUpdatedEvent(new BitAiTokenUsage { OutputTokens = 128 });
yield return new BitAiMessageCompletedEvent();
}
}
Then a working chat - transcript, composer, streaming Markdown, tool cards, error recovery, keyboard and screen-reader support - is one line:
<BitAiChat />
| 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. net11.0 is compatible. |
-
net10.0
- Bit.BlazorUI (>= 11.0.0-pre-15)
-
net11.0
- Bit.BlazorUI (>= 11.0.0-pre-15)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 11.0.0-pre-15 | 0 | 10/30/2026 |