FSharp.ViewEngine 2025.9.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package FSharp.ViewEngine --version 2025.9.0
                    
NuGet\Install-Package FSharp.ViewEngine -Version 2025.9.0
                    
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="FSharp.ViewEngine" Version="2025.9.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="FSharp.ViewEngine" Version="2025.9.0" />
                    
Directory.Packages.props
<PackageReference Include="FSharp.ViewEngine" />
                    
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 FSharp.ViewEngine --version 2025.9.0
                    
#r "nuget: FSharp.ViewEngine, 2025.9.0"
                    
#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 FSharp.ViewEngine@2025.9.0
                    
#: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=FSharp.ViewEngine&version=2025.9.0
                    
Install as a Cake Addin
#tool nuget:?package=FSharp.ViewEngine&version=2025.9.0
                    
Install as a Cake Tool

Release

logo

FSharp.ViewEngine

View engine for F#. Inspired by Giraffe.ViewEngine and Feliz.ViewEngine.

Installation

Add the core view engine package.

dotnet add package FSharp.ViewEngine

Usage

open FSharp.ViewEngine
open type Html
open type Htmx
open type Alpine

html [
    _lang "en"
    _children [
        head [
            title "Test"
            meta [ _charset "utf-8" ]
            link [ _href "/css/compiled.css"; _rel "stylesheet" ]
        ]
        body [
            _xData "{showContent: false}"
            _class "bg-gray-50"
            _children [
                div [
                    _id "page"
                    _class [ "flex"; "flex-col" ]
                    _children [
                        h1 [ _hxGet "/hello"; _hxTarget "#page"; _children "Hello" ]
                        h1 [ _hxGet "/world"; _hxTarget "#page"; _children "World" ]
                    ]
                ]
                br
                div [
                    _xShow "showContent"
                    _children [
                        h2 [ _children "Content" ]
                        p [ _children "Some content" ]
                        ul [
                            _children [
                                li [ _children "One" ]
                                li [ _children "Two" ]
                            ]
                        ]
                    ]
                ]
            ]
        ]
    ]
]
|> Element.render
<!DOCTYPE html>
<html lang="en">
    <head>
        <title>Test</title>
        <meta charset="utf-8">
        <link href="/css/compiled.css" rel="stylesheet">
    </head>
    <body x-data="{showContent: false}" class="bg-gray-50">
        <div id="page" class="flex flex-col">
            <h1 hx-get="/hello" hx-target="#page">Hello</h1>
            <h1 hx-get="/world" hx-target="#page">World</h1>
        </div>
        <br>
        <div x-show="showContent">
            <h2>Content</h2>
            <p>Some content</p>
            <ul>
                <li>One</li>
                <li>Two</li>
            </ul>
        </div>
    </body>
</html>
Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  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 (5)

Showing the top 5 NuGet packages that depend on FSharp.ViewEngine:

Package Downloads
FSharp.ViewEngine.Alpine

Package Description

FSharp.ViewEngine.Html

Package Description

FSharp.ViewEngine.Htmx

Package Description

FSharp.ViewEngine.Svg

Package Description

FSharp.ViewEngine.Docs

Composable article, API reference, canvas, navigation, diagram, and product-frame components for documentation sites built with FSharp.ViewEngine.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
2026.8.2 955 8/18/2026
2026.8.1 1,014 8/13/2026
2026.8.0 183 8/7/2026
2026.2.5 1,292 2/28/2026
2026.2.4 129 2/28/2026
2026.2.3 133 2/26/2026
2026.2.2 165 2/9/2026
2026.2.1 152 2/7/2026
2026.2.0 138 2/6/2026
2025.9.1 471 9/24/2025
2025.9.0 232 9/23/2025
2024.3.0 718 3/14/2024
2023.10.0 550 10/14/2023
2023.9.1 345 9/21/2023
2023.9.0 379 9/10/2023
2023.8.1 403 8/24/2023
2023.8.0 405 8/7/2023
2023.5.2 435 5/13/2023
2023.5.1 410 5/12/2023
2023.5.0 419 5/11/2023
Loading failed