![]() |
VOOZH | about |
dotnet add package Oxpecker.Htmx --version 2.0.0
NuGet\Install-Package Oxpecker.Htmx -Version 2.0.0
<PackageReference Include="Oxpecker.Htmx" Version="2.0.0" />
<PackageVersion Include="Oxpecker.Htmx" Version="2.0.0" />Directory.Packages.props
<PackageReference Include="Oxpecker.Htmx" />Project file
paket add Oxpecker.Htmx --version 2.0.0
#r "nuget: Oxpecker.Htmx, 2.0.0"
#:package Oxpecker.Htmx@2.0.0
#addin nuget:?package=Oxpecker.Htmx&version=2.0.0Install as a Cake Addin
#tool nuget:?package=Oxpecker.Htmx&version=2.0.0Install as a Cake Tool
Oxpecker.Htmx extends Oxpecker.ViewEngine package with HTMX attributes and headers.
Nuget package dotnet add package Oxpecker.Htmx
Markup example:
open Oxpecker.ViewEngine
open Oxpecker.Htmx
let renderForm q =
form(action="/contacts", method="get") {
label(for'="search") { "Search Term" }
input(id="search", type'="search", name="q", value=q, style="margin: 0 5px", autocomplete="off",
hxGet="/contacts",
hxTrigger="search, keyup delay:200ms changed",
hxTarget="tbody",
hxPushUrl="true",
hxIndicator="#spinner")
img(id="spinner", class'="spinner htmx-indicator", src="/spinning-circles.svg", alt="Request In Flight...")
input(type'="submit", value="Search").hxOn("click", "alert('clicked')")
}
Please refer to the official HTMX site for the documentation.
You can check ContactApp sample in the repository to get a better understanding of how the code will look like in your application.
After opening Oxpecker.Htmx namespace you'll get access to HTMX attributes:
and event handler method:
After opening Oxpecker.Htmx namespace you'll get access to the header name constants:
and
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 net10.0 is compatible. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
This package is not used by any NuGet packages.
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 4.0.0-beta.5 | 53 | 6/11/2026 |
| 4.0.0-beta.4 | 56 | 5/31/2026 |
| 4.0.0-beta.3 | 258 | 5/1/2026 |
| 4.0.0-beta.2 | 64 | 4/29/2026 |
| 4.0.0-beta.1 | 73 | 4/28/2026 |
| 2.0.0 | 2,072 | 11/28/2025 |
| 1.0.1 | 457 | 8/12/2025 |
| 1.0.0 | 2,200 | 11/19/2024 |
| 0.1.2 | 604 | 8/13/2024 |
| 0.1.1 | 419 | 4/29/2024 |
| 0.1.0 | 393 | 3/1/2024 |
Major release