Feliz.Template
5.0.0
dotnet new install Feliz.Template::5.0.0
This package contains a .NET Template Package you can call from the shell/command line.
Feliz 
A fresh retake of the React API in Fable, optimized for happiness.
Here is how it looks like:
module App
open Feliz
[<ReactComponent>]
let Counter() =
let (count, setCount) = React.useState(0)
Html.div [
Html.button [
prop.style [ style.marginRight 5 ]
prop.onClick (fun _ -> setCount(count + 1))
prop.text "Increment"
]
Html.button [
prop.style [ style.marginLeft 5 ]
prop.onClick (fun _ -> setCount(count - 1))
prop.text "Decrement"
]
Html.h1 count
]
open Browser.Dom
let root = ReactDOM.createRoot (document.getElementById "root")
root.render (Counter())
✨ Features
- Flexible API design: Combine the reliability of F# type safety with the flexibility to interop easily with native JavaScript.
- Discoverable attributes with no more functions,
Htmlattributes or CSS properties globally available so they are easy to find. - Proper documentation: each attribute and CSS property
- Full React API support: Feliz aims to support the React API for building components using hooks, context and more.
- Fully Type-safe: no more
Margin of objbut instead utilizing a plethora of overloaded functions to account for the overloaded nature ofCSSattributes, covering 90%+ of the CSS styles, values and properties. - Compatible with Femto.
- Approximately Zero bundle size increase where everything function body is erased from the generated JavaScript unless you actually use said function.
🚀 Quick Start
# install the template (if you haven't already)
dotnet new -i Feliz.Template
# create a new Feliz project from the installed template
dotnet new feliz -n MyProject
# navigate to the created project folder
cd MyProject
# install the npm dependencies
npm install
# install .NET tools
dotnet tool restore
# start the development server
npm start
📚 Documentation
Feliz has extensive documentation at https://fable-hub.github.io/Feliz/ with live examples alongside code samples, check them out and if you have any question, let us know!
-
.NETStandard 2.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 5.0.0 | 546 | 12/10/2025 |
| 5.0.0-rc.5 | 410 | 11/18/2025 |
| 5.0.0-rc.4 | 411 | 11/18/2025 |
| 5.0.0-rc.3 | 223 | 10/7/2025 |
| 5.0.0-rc.2 | 226 | 10/7/2025 |
| 5.0.0-rc.1 | 201 | 10/3/2025 |
| 4.5.0 | 2,977 | 3/21/2023 |
| 4.4.0 | 482 | 3/18/2023 |
| 4.3.0 | 613 | 2/27/2023 |
| 4.2.0 | 530 | 2/23/2023 |
| 4.1.0 | 503 | 2/23/2023 |
| 4.0.0 | 493 | 2/23/2023 |
| 3.17.0 | 1,346 | 8/3/2022 |
| 3.16.0 | 1,900 | 11/29/2021 |
| 3.15.0 | 1,252 | 11/29/2021 |
| 3.14.0 | 898 | 10/2/2021 |
| 3.13.0 | 750 | 9/10/2021 |
| 3.12.0 | 1,145 | 8/17/2021 |
| 3.11.0 | 890 | 8/8/2021 |
| 3.10.0 | 2,235 | 5/13/2021 |
| 3.9.0 | 756 | 4/10/2021 |
| 3.8.0 | 671 | 4/1/2021 |
| 3.7.0 | 701 | 3/24/2021 |
| 3.6.0 | 665 | 3/18/2021 |
| 3.5.0 | 649 | 3/17/2021 |
| 3.4.0 | 692 | 3/12/2021 |
| 3.3.1 | 715 | 3/12/2021 |
| 3.3.0 | 667 | 3/11/2021 |
| 3.2.0 | 648 | 3/9/2021 |
| 3.1.0 | 681 | 3/8/2021 |
| 3.0.0 | 1,020 | 12/16/2020 |
| 2.7.0 | 1,094 | 8/16/2020 |
| 2.6.0 | 768 | 8/8/2020 |
| 2.5.0 | 871 | 6/29/2020 |
| 2.4.0 | 827 | 6/26/2020 |
| 2.3.0 | 838 | 6/23/2020 |
| 2.2.0 | 811 | 6/8/2020 |
| 2.1.0 | 882 | 5/24/2020 |
| 2.0.0 | 852 | 5/16/2020 |
| 1.9.0 | 829 | 5/4/2020 |
| 1.8.0 | 800 | 4/27/2020 |
| 1.7.0 | 813 | 4/26/2020 |
| 1.6.0 | 822 | 4/22/2020 |
| 1.5.0 | 836 | 3/29/2020 |
| 1.4.0 | 848 | 3/26/2020 |
| 1.3.0 | 813 | 3/22/2020 |
| 1.2.0 | 829 | 3/20/2020 |
| 1.1.0 | 849 | 3/17/2020 |
| 1.0.0 | 853 | 3/12/2020 |
| 0.2.28 | 842 | 3/11/2020 |
| 0.2.27 | 831 | 3/10/2020 |
| 0.2.26 | 965 | 12/5/2019 |
| 0.2.25 | 877 | 12/5/2019 |
| 0.2.24 | 867 | 12/4/2019 |
| 0.2.23 | 871 | 12/1/2019 |
| 0.2.22 | 849 | 11/29/2019 |
| 0.2.20 | 862 | 11/27/2019 |
| 0.2.19 | 850 | 11/18/2019 |
| 0.2.18 | 828 | 11/18/2019 |
| 0.2.17 | 823 | 11/14/2019 |
| 0.2.16 | 829 | 11/13/2019 |
| 0.2.15 | 865 | 11/6/2019 |
| 0.2.14 | 868 | 11/4/2019 |
| 0.2.13 | 851 | 11/3/2019 |
| 0.2.12 | 866 | 11/3/2019 |
| 0.2.11 | 858 | 11/1/2019 |
| 0.2.10 | 852 | 11/1/2019 |
| 0.2.9 | 827 | 10/31/2019 |
| 0.2.8 | 853 | 10/30/2019 |
| 0.2.7 | 845 | 10/29/2019 |
| 0.2.6 | 849 | 10/28/2019 |
| 0.2.5 | 848 | 10/28/2019 |
| 0.2.4 | 855 | 10/27/2019 |
| 0.2.3 | 829 | 10/27/2019 |
| 0.2.2 | 853 | 10/27/2019 |
| 0.2.1 | 860 | 10/27/2019 |
| 0.2.0 | 865 | 10/26/2019 |
| 0.1.1 | 856 | 10/26/2019 |
| 0.1.0 | 865 | 10/26/2019 |
### 🔄 Changed
- Update dependencies
- Update .NET SDK version to 10.0
- Update Fable to 5.0.0-alpha.20