Feliz 2.0.0-prerelease-003
See the version list below for details.
dotnet add package Feliz --version 2.0.0-prerelease-003
NuGet\Install-Package Feliz -Version 2.0.0-prerelease-003
<PackageReference Include="Feliz" Version="2.0.0-prerelease-003" />
<PackageVersion Include="Feliz" Version="2.0.0-prerelease-003" />
<PackageReference Include="Feliz" />
paket add Feliz --version 2.0.0-prerelease-003
#r "nuget: Feliz, 2.0.0-prerelease-003"
#addin nuget:?package=Feliz&version=2.0.0-prerelease-003&prerelease
#tool nuget:?package=Feliz&version=2.0.0-prerelease-003&prerelease
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
ReactDOM.render(Counter(), document.getElementById "root")
Features
- Consistent, lightweight formatting: no more awkward indentation using two lists for every element.
- Discoverable attributes with no more functions,
Html
attributes 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 obj
but instead utilizing a plethora of overloaded functions to account for the overloaded nature ofCSS
attributes, covering 90%+ of the CSS styles, values and properties. - Included color list of most commonly used
Html
colors in thecolors
module. - Compatible with the current React DSL used in applications.
- Compatible with Femto.
- Approximately Zero bundle size increase where everything function body is erased from the generated javascript unless you actually use said function.
Documentation
Feliz has extensive documentation at https://zaid-ajaj.github.io/Feliz with live examples along side code samples, check them out and if you have any question, let us know!
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. 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. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- Fable.Core (>= 3.2.7)
- Fable.React.Types (>= 18.0.0)
- Feliz.CompilerPlugins (>= 2.0.0-prerelease-003)
- FSharp.Core (>= 4.7.2)
NuGet packages (134)
Showing the top 5 NuGet packages that depend on Feliz:
Package | Downloads |
---|---|
Feliz.Router
A router component for React and Elmish that is focused, powerful and extremely easy to use. |
|
Feliz.Bulma
Bulma wrapper for amazing Feliz DSL |
|
Feliz.UseListener
React hooks for easy event listener management. |
|
Feliz.UseDeferred
Hooks for dead-simple data fetching with Feliz |
|
Feliz.Recharts
Recharts bindings based on the Feliz API |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
2.9.0 | 14,041 | 10/26/2024 |
2.8.0 | 21,103 | 6/22/2024 |
2.8.0-beta.0 | 3,162 | 12/25/2023 |
2.7.0 | 35,159 | 10/8/2023 |
2.6.0 | 55,241 | 3/21/2023 |
2.5.0 | 524 | 3/18/2023 |
2.4.1 | 4,167 | 2/23/2023 |
2.4.0 | 11,566 | 1/14/2023 |
2.3.0 | 13,811 | 12/27/2022 |
2.2.0 | 351 | 12/27/2022 |
2.1.0 | 347 | 12/27/2022 |
2.0.1 | 475 | 12/25/2022 |
2.0.0 | 5,609 | 12/25/2022 |
2.0.0-prerelease-003 | 6,709 | 9/16/2022 |
2.0.0-prerelease-002 | 5,657 | 9/1/2022 |
2.0.0-prerelease-001 | 197 | 8/26/2022 |
1.68.0 | 49,185 | 8/17/2022 |
1.67.0 | 8,915 | 8/5/2022 |
1.66.0 | 1,955 | 8/3/2022 |
1.65.0 | 26,006 | 7/9/2022 |
1.64.0 | 17,737 | 5/9/2022 |
1.63.0 | 741 | 5/9/2022 |
1.62.0 | 26,754 | 4/19/2022 |
1.61.0 | 27,043 | 3/12/2022 |
1.60.0 | 1,292 | 3/5/2022 |
1.59.0 | 12,465 | 2/24/2022 |
1.58.1 | 6,990 | 2/10/2022 |
1.58.0 | 1,232 | 2/3/2022 |
1.57.0 | 26,193 | 11/29/2021 |
1.56.0 | 3,799 | 11/8/2021 |
1.55.0 | 12,024 | 11/5/2021 |
1.54.0 | 3,493 | 10/24/2021 |
1.53.0 | 3,684 | 10/2/2021 |
1.52.0 | 9,869 | 9/10/2021 |
1.51.0 | 8,873 | 8/17/2021 |
1.50.0 | 2,805 | 8/8/2021 |
1.49.0 | 20,089 | 7/7/2021 |
1.48.0 | 509 | 7/7/2021 |
1.47.0 | 19,718 | 6/13/2021 |
1.46.0 | 2,031 | 6/8/2021 |
1.45.0 | 10,573 | 5/13/2021 |
1.44.0 | 1,744 | 5/3/2021 |
1.43.0 | 6,147 | 4/16/2021 |
1.42.0 | 1,543 | 4/10/2021 |
1.41.0 | 850 | 4/8/2021 |
1.40.1 | 4,816 | 3/30/2021 |
1.40.0 | 2,283 | 3/24/2021 |
1.39.0 | 507 | 3/24/2021 |
1.38.0 | 1,325 | 3/17/2021 |
1.37.0 | 4,889 | 3/8/2021 |
1.36.0 | 580 | 3/6/2021 |
1.35.0 | 1,228 | 2/28/2021 |
1.34.0 | 1,713 | 2/21/2021 |
1.33.1 | 16,467 | 2/21/2021 |
1.33.0 | 3,425 | 2/4/2021 |
1.32.0 | 17,286 | 12/27/2020 |
1.31.1 | 1,272 | 12/22/2020 |
1.31.0 | 802 | 12/22/2020 |
1.30.0 | 567 | 12/22/2020 |
1.29.0 | 2,049 | 12/15/2020 |
1.28.0 | 23,714 | 12/15/2020 |
1.27.0 | 664 | 12/13/2020 |
1.25.0 | 727 | 12/12/2020 |
1.24.0 | 1,144 | 12/10/2020 |
1.23.0 | 513 | 12/10/2020 |
1.22.1 | 559 | 12/10/2020 |
1.22.0 | 5,776 | 12/2/2020 |
1.21.0 | 705 | 12/2/2020 |
1.20.0 | 1,082 | 11/27/2020 |
1.19.0 | 530 | 11/26/2020 |
1.18.0 | 1,136 | 11/26/2020 |
1.17.0 | 11,773 | 11/15/2020 |
1.16.2 | 3,111 | 11/1/2020 |
1.16.1 | 642 | 10/30/2020 |
1.16.0 | 6,051 | 10/23/2020 |
1.15.0 | 1,012 | 10/23/2020 |
1.14.1 | 4,675 | 10/19/2020 |
1.14.0 | 4,624 | 9/19/2020 |
1.13.2 | 1,615 | 9/16/2020 |
1.13.1 | 13,230 | 9/1/2020 |
1.13.0 | 4,540 | 8/16/2020 |
1.12.1 | 1,308 | 8/10/2020 |
1.12.0 | 1,114 | 8/9/2020 |
1.11.0 | 2,267 | 8/8/2020 |
1.10.1 | 1,340 | 7/30/2020 |
1.10.0 | 626 | 7/29/2020 |
1.9.0 | 599 | 7/29/2020 |
1.8.0 | 649 | 7/29/2020 |
1.7.0 | 2,535 | 7/16/2020 |
1.6.0 | 8,870 | 7/3/2020 |
1.5.0 | 13,024 | 6/24/2020 |
1.4.0 | 654 | 6/24/2020 |
1.3.0 | 17,500 | 6/7/2020 |
1.2.0 | 4,129 | 6/4/2020 |
1.1.1 | 10,617 | 5/24/2020 |
1.1.0 | 5,002 | 5/21/2020 |
1.0.0 | 3,294 | 5/16/2020 |
0.86.0 | 4,320 | 5/9/2020 |
0.85.0 | 1,979 | 5/7/2020 |
0.84.0 | 756 | 5/4/2020 |
0.83.0 | 3,174 | 5/4/2020 |
0.82.0 | 683 | 5/3/2020 |
0.81.0 | 1,096 | 4/30/2020 |
0.80.0 | 700 | 4/28/2020 |
0.79.0 | 595 | 4/28/2020 |
0.78.0 | 1,489 | 4/27/2020 |
0.77.0 | 598 | 4/26/2020 |
0.76.0 | 1,442 | 4/26/2020 |
0.75.0 | 3,377 | 4/22/2020 |
0.74.2 | 5,773 | 4/20/2020 |
0.74.1 | 4,284 | 4/12/2020 |
0.74.0 | 6,210 | 3/29/2020 |
0.73.0 | 1,667 | 3/26/2020 |
0.72.0 | 5,793 | 3/22/2020 |
0.71.0 | 1,559 | 3/20/2020 |
0.70.0 | 2,447 | 3/17/2020 |
0.69.0 | 1,769 | 3/12/2020 |
0.68.10 | 6,208 | 12/10/2019 |
0.68.9 | 3,967 | 12/5/2019 |
0.68.8 | 1,504 | 12/5/2019 |
0.68.7 | 2,353 | 12/4/2019 |
0.68.6 | 1,518 | 12/1/2019 |
0.68.5 | 1,478 | 11/29/2019 |
0.68.3 | 3,932 | 11/27/2019 |
0.68.2 | 7,249 | 11/18/2019 |
0.68.1 | 1,417 | 11/18/2019 |
0.68.0 | 4,019 | 11/14/2019 |
0.67.2 | 2,281 | 11/13/2019 |
0.67.1 | 1,571 | 11/4/2019 |
0.67.0 | 1,765 | 11/4/2019 |
0.66.5 | 1,434 | 11/3/2019 |
0.66.4 | 1,216 | 11/3/2019 |
0.66.3 | 1,404 | 11/1/2019 |
0.66.2 | 1,296 | 11/1/2019 |
0.66.1 | 2,368 | 10/31/2019 |
0.66.0 | 1,570 | 10/30/2019 |
0.65.5 | 1,335 | 10/29/2019 |
0.65.4 | 1,378 | 10/28/2019 |
0.65.3 | 1,343 | 10/28/2019 |
0.65.2 | 1,156 | 10/27/2019 |
0.65.1 | 1,077 | 10/27/2019 |
0.65.0 | 1,425 | 10/27/2019 |
0.64.0 | 1,120 | 10/27/2019 |
0.63.0 | 1,499 | 10/22/2019 |
0.62.0 | 1,008 | 10/21/2019 |
0.61.0 | 942 | 10/21/2019 |
0.60.0 | 668 | 10/20/2019 |
0.59.0 | 1,139 | 10/20/2019 |
0.58.0 | 2,329 | 10/14/2019 |
0.57.2 | 1,171 | 10/12/2019 |
0.57.1 | 977 | 10/10/2019 |
0.57.0 | 1,590 | 10/8/2019 |
0.56.0 | 1,336 | 10/6/2019 |
0.55.0 | 648 | 10/6/2019 |
0.54.0 | 854 | 10/6/2019 |
0.53.0 | 1,092 | 10/5/2019 |
0.52.0 | 913 | 9/14/2019 |
0.51.0 | 652 | 9/14/2019 |
0.50.0 | 658 | 9/10/2019 |
0.49.0 | 689 | 9/9/2019 |
0.48.0 | 676 | 9/9/2019 |
0.47.0 | 993 | 8/31/2019 |
0.46.0 | 1,112 | 8/28/2019 |
0.45.0 | 664 | 8/28/2019 |
0.44.0 | 637 | 8/27/2019 |
0.42.0 | 680 | 8/26/2019 |
0.41.0 | 702 | 8/19/2019 |
0.40.0 | 1,219 | 8/13/2019 |
0.39.0 | 695 | 8/13/2019 |
0.38.0 | 716 | 8/5/2019 |
0.37.0 | 692 | 8/5/2019 |
0.36.0 | 733 | 7/31/2019 |
0.35.0 | 750 | 7/29/2019 |
0.34.0 | 707 | 7/28/2019 |
0.33.0 | 680 | 7/28/2019 |
0.32.0 | 715 | 7/28/2019 |
0.31.0 | 682 | 7/28/2019 |
0.30.0 | 706 | 7/27/2019 |
0.29.0 | 660 | 7/26/2019 |
0.28.0 | 672 | 7/26/2019 |
0.27.0 | 681 | 7/26/2019 |
0.26.0 | 665 | 7/26/2019 |
0.25.0 | 691 | 7/26/2019 |
0.24.0 | 657 | 7/25/2019 |
0.23.0 | 682 | 7/25/2019 |
0.22.0 | 680 | 7/25/2019 |
0.20.0 | 659 | 7/25/2019 |
0.19.0 | 672 | 7/25/2019 |
0.18.0 | 669 | 7/24/2019 |
0.17.0 | 667 | 7/24/2019 |
0.16.0 | 703 | 7/23/2019 |
0.15.0 | 665 | 7/22/2019 |
0.14.0 | 675 | 7/22/2019 |
0.13.0 | 673 | 7/22/2019 |
0.12.0 | 692 | 7/22/2019 |
0.11.0 | 639 | 7/22/2019 |
0.10.1 | 664 | 7/22/2019 |
0.10.0 | 699 | 7/22/2019 |
0.9.0 | 665 | 7/22/2019 |
0.8.0 | 673 | 7/22/2019 |
0.7.0 | 673 | 7/22/2019 |
0.6.0 | 708 | 7/22/2019 |
0.5.0 | 672 | 7/21/2019 |
0.4.0 | 642 | 7/21/2019 |
0.3.0 | 627 | 7/21/2019 |
0.2.0 | 680 | 7/21/2019 |
0.1.0 | 804 | 7/21/2019 |
Inject React import for components and depend on Fable.React.Types