Dabbler.Components
1.0.0
Prefix Reserved
See the version list below for details.
dotnet add package Dabbler.Components --version 1.0.0
NuGet\Install-Package Dabbler.Components -Version 1.0.0
<PackageReference Include="Dabbler.Components" Version="1.0.0" />
<PackageVersion Include="Dabbler.Components" Version="1.0.0" />
<PackageReference Include="Dabbler.Components" />
paket add Dabbler.Components --version 1.0.0
#r "nuget: Dabbler.Components, 1.0.0"
#:package Dabbler.Components@1.0.0
#addin nuget:?package=Dabbler.Components&version=1.0.0
#tool nuget:?package=Dabbler.Components&version=1.0.0
Dabbler.Components
Part of the Dabbler Platform. See
docs/platform-overview.mdfor the platform-level view of how this library fits in.
MudBlazor-native CRUD primitives for Blazor Server: declarative QBE filter panel, dirty-tracking edit session, master/detail expansion shell, and the underlying expression-engine + data-provider abstractions. Composition-over-configuration — pages declare their own MudDataGrid columns and MudForm fields.
Audience
Teams building Blazor Server CRUD applications who want a tightly focused set of composable helpers (filter panel, dirty tracking, action row, master-detail shell) instead of a config-driven page generator. The helpers are à-la-carte: each page wires only the helpers it needs.
Prerequisites and stack constraints
- Blazor Server (Blazor WebAssembly is out of scope today)
- MudBlazor 8.x
- .NET 10 (current LTS)
- Dependency-injected access to your
IGridDataProvider<T>implementations
Install
Adoption note: The recommended adoption model for internal projects is integrated source — add a
<ProjectReference>from your app csproj tosrc/Libs/Dabbler.Components/. NuGet packages are also available (current preview release0.1.0-preview.1). To install via NuGet:dotnet add package Dabbler.Components --prerelease
Minimal registration
There is no library-wide DI extension — Dabbler.Components types are
used directly by the pages that need them. The only requirement is
MudBlazor services:
builder.Services.AddMudServices();
If a page consumes a grid-data primitive, register the concrete provider for that page's entity:
builder.Services.AddScoped<IGridDataProvider<Customer>, CustomerGridDataProvider>();
Smallest working example
A query page that combines DeclarativeFilterPanel<TEntity> with a
MudDataGrid<T> server-data callback:
@page "/customers"
<DeclarativeFilterPanel TEntity="Customer"
FilterColumns="@_filterColumns"
Coordinator="@_coordinator" />
<MudDataGrid T="Customer"
Bordered="true"
ServerData="@_dataProvider.ToServerDataFunc(_coordinator.GetCompositeFilter)">
<Columns>
<PropertyColumn Property="x => x.Name" Title="Name" />
<PropertyColumn Property="x => x.City" Title="City" />
</Columns>
</MudDataGrid>
@code {
[Inject] private IGridDataProvider<Customer> _dataProvider { get; set; } = default!;
private readonly FilteringCoordinator _coordinator = new();
private readonly List<FilterColumnDefinition> _filterColumns = new()
{
new() { Field = nameof(Customer.Name), Caption = "Name" },
new() { Field = nameof(Customer.City), Caption = "City" },
};
}
Detail pages additionally compose EditSession<T> with
<DirtyAwareActionRow> for save/cancel/delete; see
docs/platform-overview.md § "CRUD Form Conventions" for the form
wiring pattern.
Active core
The library's surface, organized by role:
| Surface | Role |
|---|---|
DeclarativeFilterPanel<TEntity> |
Catalog-friendly QBE filter panel with AND/OR group logic, operator selection, presets, and active filter chips. Default for new query pages. |
EditSession<T> |
Dirty-tracking snapshot for a detail-page record (NotifyChanged / Commit / CommitFrom / Cancel). Pairs with <DirtyAwareActionRow>. |
<DirtyAwareActionRow> |
Save / Cancel / Delete action row that reads EditSession<T> state, with a CustomActions slot for page-specific buttons. |
<MasterDetailExpansionShell> |
Generic master/detail composite (Add-Only, Search+Update, Pick-or-Add, M:N-with-payload) selected via capability parameters (ShowGrid, ShowLinkData, TargetEditability). |
FilterPanel<T> |
Original MudBlazor-native QBE filter panel; retained for legacy callers. New pages prefer DeclarativeFilterPanel<TEntity>. |
FilteringCoordinator |
Manages filter state, group lifecycle, and change notification. |
FilterColumnDefinition |
Defines filterable columns with types, operators, and editor metadata. |
FilterGroupCollection / FilterGroup |
AND/OR group model for composable filter expressions. |
CompositeFilterDescriptor / FilterDescriptor |
Filter expression descriptors consumed by the expression engine. |
FilterSummaryBuilder |
Generates human-readable filter summary text. |
IGridDataProvider<T> |
Data provider abstraction with ToServerDataFunc for MudDataGrid ServerData callbacks. |
Related packages
Dabbler.Security.Blazor— combines with the helpers above for restriction-aware CRUD pages (column hiding, row scoping, control disablement).Dabbler.Reports.Blazor— consumes the expression engine for report parameter prompts.Dabbler.Platform.Stubs— provides in-memoryStubGridDataProvider<T>and friends for bUnit tests and demo hosts.
Warnings and caveats
- The library focuses on à-la-carte helpers, not a metadata DSL.
The abandoned
MasterDetailsConfig<TEntity>config-DSL prototype is not coming back; seedocs/planning/project-guidance.md→ Composition over configuration. - MudBlazor 8.x
data-testidlands on the<input>, not the wrapper. Playwright tests should useGetByTestId("foo")directly rather than chaining a.Locator("input")after. MudTextField ReadOnly="true"does NOT set the HTMLreadonlyattribute in MudBlazor 8.x. Tests asserting read-only state must use behavior-level proxies (e.g., the toggle-button text), notNot.ToBeEditableAsync.- License: MIT (see LICENSE).
If this library stops being maintained
This package is MIT-licensed, and its source is in
src/Libs/Dabbler.Components.
If it stops being maintained, copy that source into your application,
replace the package reference with a project reference to your copy, and
own it from there. Keep the MIT license notice with the copied code.
| 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.5)
- MudBlazor (>= 9.12.0)
NuGet packages (3)
Showing the top 3 NuGet packages that depend on Dabbler.Components:
| Package | Downloads |
|---|---|
|
Dabbler.Security.Blazor
Blazor Server UI surface for Dabbler.Security: secured-rendering components, the security-administration dashboard, role-switcher and organization-switcher controls, masked-field renderers, and the restriction-aware grid/form binders. |
|
|
Dabbler.Reports.Blazor
Blazor components for rendering and interacting with Dabbler Reports: ReportViewer, ParameterPromptForm, and PDF export integration. MIT-licensed. Note: this package takes a transitive dependency on DabblerPdf (LGPL-2.1-only OR MPL-2.0) via Dabbler.Reports.Core and Dabbler.Reports.Export; see THIRD-PARTY-NOTICES.txt for the canonical license text. |
|
|
Dabbler.Platform.Stubs
Opt-in stub providers for Dabbler bUnit and demo hosts: grid-data, combo-box, entity-metadata and navigation providers for Dabbler.Components; report-data, artifact-catalog and usage-tracking providers for Dabbler.Reports.Core; and a stub authentication-state provider. Includes AddDabblerPlatformStubs(definition) and the focused per-provider helpers. Carries a transitive dependency on DabblerPdf (LGPL-2.1-only OR MPL-2.0) via Dabbler.Reports.Core. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 2.0.2 | 131 | 11/13/2026 |
| 2.0.1 | 121 | 11/13/2026 |
| 2.0.0 | 120 | 11/13/2026 |
| 1.0.0 | 125 | 11/9/2026 |
| 0.1.0-preview.1 | 193 | 5/30/2026 |