Fila.Widgets
0.0.1-alpha
dotnet add package Fila.Widgets --version 0.0.1-alpha
NuGet\Install-Package Fila.Widgets -Version 0.0.1-alpha
<PackageReference Include="Fila.Widgets" Version="0.0.1-alpha" />
<PackageVersion Include="Fila.Widgets" Version="0.0.1-alpha" />
<PackageReference Include="Fila.Widgets" />
paket add Fila.Widgets --version 0.0.1-alpha
#r "nuget: Fila.Widgets, 0.0.1-alpha"
#:package Fila.Widgets@0.0.1-alpha
#addin nuget:?package=Fila.Widgets&version=0.0.1-alpha&prerelease
#tool nuget:?package=Fila.Widgets&version=0.0.1-alpha&prerelease
Fila.Widgets
Fila's dashboard widgets: stats overviews with sparklines, charts, and tables. Ported from Filament's widgets package.
A widget is resolved from DI, so it can take the app's own DbContext through its constructor
and stay strongly typed. Widgets are registered on a panel, or returned by a resource, which
puts them on whichever panel that resource is registered on.
Install
dotnet add package Fila.Widgets --prerelease
Most apps take the umbrella Fila package instead —
it pulls in every Fila package at once. Fila is at 0.0.1-alpha, so --prerelease is required
until a stable version ships.
A stats overview
public sealed class DemoStatsWidget(AppDb db) : StatsOverviewWidget
{
protected override async Task<IReadOnlyList<Stat>> GetStatsAsync(WidgetContext context) =>
[
Stat.Make("Customers", customers.ToString()).Description("Active accounts"),
Stat.Make("Orders", orders.ToString())
.Description($"{shipped} shipped")
.DescriptionIcon("trending-up")
.DescriptionColor("info")
.Chart(ordersPerDay)
.ChartColor("info"),
];
}
A chart
public sealed class RevenueChartWidget(AppDb db) : ChartWidget
{
public override string? Heading => "Revenue";
protected override async Task<ChartData> GetDataAsync(WidgetContext context) =>
new ChartData(points, ValuePrefix: "$");
}
Charts render through Chart.js, vendored locally by Fila.Panels — no CDN, no build step.
Registering
panel.Widgets(
WidgetRegistration.Of<DemoStatsWidget>(),
WidgetRegistration.Of<RevenueChartWidget>());
Part of Fila, an admin-panel framework for
ASP.NET Core in the shape of Laravel Filament: Razor views instead of
Blade, htmx instead of Livewire, the same fi-* class names and design tokens.
Licensed under the GNU GPL v3 — see the LICENSE file in this package.
| 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
- Fila.Schemas (>= 0.0.1-alpha)
- Fila.Tables (>= 0.0.1-alpha)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on Fila.Widgets:
| Package | Downloads |
|---|---|
|
Fila.Panels
Fila's panel package: the Razor UI, routing, resources, pages, relation managers and dashboard that together make an ASP.NET Core app an admin panel, in the shape of Laravel Filament's panels. |
|
|
Fila
The umbrella package for Fila, an admin-panel framework for ASP.NET Core built in the shape of Laravel Filament. Carries no code of its own: it references every Fila package, so an app takes one dependency and gets panels, resources, tables, forms, infolists, actions, notifications and widgets. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.0.1-alpha | 87 | 9/8/2026 |