Fila.Forms 0.0.1-alpha

This is a prerelease version of Fila.Forms.
dotnet add package Fila.Forms --version 0.0.1-alpha
                    
NuGet\Install-Package Fila.Forms -Version 0.0.1-alpha
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Fila.Forms" Version="0.0.1-alpha" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Fila.Forms" Version="0.0.1-alpha" />
                    
Directory.Packages.props
<PackageReference Include="Fila.Forms" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Fila.Forms --version 0.0.1-alpha
                    
#r "nuget: Fila.Forms, 0.0.1-alpha"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Fila.Forms@0.0.1-alpha
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Fila.Forms&version=0.0.1-alpha&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Fila.Forms&version=0.0.1-alpha&prerelease
                    
Install as a Cake Tool

Fila.Forms

Fila's form builder: the fields a resource's create and edit screens are made of, bound to an EF Core entity's properties by expression.

Ships TextInput, Textarea, Select, Checkbox and DatePicker. Ported from Filament's forms package.

Install

dotnet add package Fila.Forms --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.

Declare a form

protected override Form<Order> Form(Form<Order> f) => f
    .Fields(
        f.Text(o => o.Reference).Required(),
        f.Select(o => o.CustomerId)
            .Label("Customer")
            .Required()
            .Options(db => ((AppDb)db).Customers
                .OrderBy(c => c.Name)
                .Select(c => new SelectOption(c.Id.ToString(), c.Name))),
        f.Select(o => o.Status).Required(),
        f.Number(o => o.Total).Required(),
        f.Date(o => o.CreatedAt).Required());

A Select over an enum infers its options from the enum's members; the Options(db => ...) overload is for choices that come from a query, and is handed the panel's DbContext for the current request.


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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (3)

Showing the top 3 NuGet packages that depend on Fila.Forms:

Package Downloads
Fila.Actions

Fila's actions: Create/Edit/Delete/Replicate/Restore record actions, bulk actions and action groups, each with its own modal form or confirmation. Ported from Filament's actions package.

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 102 9/8/2026