![]() |
VOOZH | about |
dotnet add package TakinProfit.Solid.Primitives.Storage --version 4.2.0
NuGet\Install-Package TakinProfit.Solid.Primitives.Storage -Version 4.2.0
<PackageReference Include="TakinProfit.Solid.Primitives.Storage" Version="4.2.0" />
<PackageVersion Include="TakinProfit.Solid.Primitives.Storage" Version="4.2.0" />Directory.Packages.props
<PackageReference Include="TakinProfit.Solid.Primitives.Storage" />Project file
paket add TakinProfit.Solid.Primitives.Storage --version 4.2.0
#r "nuget: TakinProfit.Solid.Primitives.Storage, 4.2.0"
#:package TakinProfit.Solid.Primitives.Storage@4.2.0
#addin nuget:?package=TakinProfit.Solid.Primitives.Storage&version=4.2.0Install as a Cake Addin
#tool nuget:?package=TakinProfit.Solid.Primitives.Storage&version=4.2.0Install as a Cake Tool
F# bindings for Solid.js and Ionic Framework using Fable
A professional .NET monorepo providing idiomatic F# bindings for building reactive web applications with Solid.js and Ionic Framework.
| Package | Description | NuGet |
|---|---|---|
| TakinProfit.Solid | Core Solid.js reactive primitives and control flow components | 👁 NuGet |
| TakinProfit.Solid.Ionic | Complete Ionic Framework component bindings (95 components) | 👁 NuGet |
# For Solid.js only
dotnet add package TakinProfit.Solid
# For Ionic + Solid.js
dotnet add package TakinProfit.Solid.Ionic
open TakinProfit.Solid
open TakinProfit.Solid.Ionic
// Create reactive state
let count, setCount = Solid.createSignal 0
// Build UI with computation expressions
let app() =
Ion.app () {
Ion.header () {
Ion.toolbar () {
Ion.title () { "Counter App" }
}
}
Ion.content () {
Ion.button (onClick = fun _ -> setCount(count() + 1)) {
$"Count: {count()}"
}
}
}
// Render
Solid.render(app, Browser.Dom.document.getElementById("app"))
Provides F# bindings for Solid.js reactive primitives:
// Create signal
let count, setCount = Solid.createSignal 0
// Create memo (derived value)
let doubled = Solid.createMemo(fun () -> count() * 2)
// Create effect (side effect)
Solid.createEffect(fun () ->
printfn $"Count is now: {count()}"
)
// Conditional rendering
Solid.Show(``when`` = isVisible) {
Ion.div () { "Visible content" }
}
// With fallback
Solid.Show(``when`` = isLoading, fallback = Ion.spinner () {}) {
Ion.div () { "Loaded!" }
}
// Array iteration
Solid.For(each = items) { fun item getIndex ->
Ion.li () { $"{getIndex()}: {item.name}" }
}
// Switch/Match
Solid.Switch(fallback = Ion.div () { "Default" }) {
Solid.Match(``when`` = fun () -> status() = "loading") {
Ion.spinner () {}
}
Solid.Match(``when`` = fun () -> status() = "success") {
Ion.div () { "Success!" }
}
}
95 fully-typed Ionic components:
// Button with all props
Ion.button (
color = IonColor.Primary,
fill = ButtonFill.Solid,
expand = ButtonExpand.Block,
onClick = handleClick
) {
"Click Me"
}
// Card layout
Ion.card () {
Ion.cardHeader () {
Ion.cardTitle () { "Card Title" }
Ion.cardSubtitle () { "Subtitle" }
}
Ion.cardContent () {
"Card content goes here"
}
}
// List with items
Ion.list () {
Solid.For(each = todos) { fun todo _ ->
Ion.item () {
Ion.label () { todo.text }
Ion.checkbox (``checked`` = todo.done) {}
}
}
}
TakinProfit.Solid/
├── src/
│ ├── TakinProfit.Solid/ # Core Solid.js bindings
│ │ ├── Builder.fs # Computation expression builder
│ │ ├── Solid.fs # Reactive primitives
│ │ └── TakinProfit.Solid.fsproj
│ └── TakinProfit.Solid.Ionic/ # Ionic component bindings
│ ├── Types.fs # Enums and types
│ ├── Core.fs # Initialization
│ ├── Ionicons.g.fs # 1,357 icon constants
│ ├── Ion.g.fs # 95 generated components
│ └── TakinProfit.Solid.Ionic.fsproj
├── tests/ # 640+ unit tests
├── example/ # Example application
├── Taskfile.yml # Build automation
├── Directory.Build.props # Shared MSBuild config
└── TakinProfit.Solid.slnx # Solution file
# Using Task (recommended)
task build
# Using dotnet directly
dotnet build TakinProfit.Solid.slnx
task test
# Or manually
cd tests
dotnet fable . -o fable_output -e .jsx --lang jsx
bun test --preload ./setup.ts fable_output
task example
# Or manually
cd example
dotnet fable . -o fable_output -e .jsx --lang jsx
bunx vite --host
Run task --list to see all available commands:
task build # Build all projects
task test # Run all tests
task pack # Create NuGet packages
task publish # Publish to NuGet
task generate # Run code generators
task example # Run example app
task clean # Clean all outputs
task info # Show project information
task pack
# Creates packages in ./nupkgs/
export NUGET_API_KEY=your-api-key
task publish
task publish:local
All components use a consistent CE pattern:
Ion.component (prop = value) {
// children here
}
This provides:
Solid.js control flow components require accessor functions (not values):
// ✅ Correct - pass accessor
Solid.Show(``when`` = isVisible) { ... }
// ❌ Wrong - don't call it
Solid.Show(``when`` = isVisible()) { ... }
This ensures SolidJS can track reactive dependencies properly.
All packages target netstandard2.1 for maximum compatibility:
Contributions welcome! Please:
task check to verify builds and testsMIT License - see for details
Built with ❤️ using F# and Solid.js
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 net5.0 was computed. net5.0-windows net5.0-windows was computed. net6.0 net6.0 was computed. net6.0-android net6.0-android was computed. net6.0-ios net6.0-ios was computed. net6.0-maccatalyst net6.0-maccatalyst was computed. net6.0-macos net6.0-macos was computed. net6.0-tvos net6.0-tvos was computed. net6.0-windows net6.0-windows was computed. net7.0 net7.0 was computed. net7.0-android net7.0-android was computed. net7.0-ios net7.0-ios was computed. net7.0-maccatalyst net7.0-maccatalyst was computed. net7.0-macos net7.0-macos was computed. net7.0-tvos net7.0-tvos was computed. net7.0-windows net7.0-windows was computed. net8.0 net8.0 was computed. net8.0-android net8.0-android was computed. net8.0-browser net8.0-browser was computed. net8.0-ios net8.0-ios was computed. net8.0-maccatalyst net8.0-maccatalyst was computed. net8.0-macos net8.0-macos was computed. net8.0-tvos net8.0-tvos was computed. net8.0-windows net8.0-windows was computed. net9.0 net9.0 was computed. net9.0-android net9.0-android was computed. net9.0-browser net9.0-browser was computed. net9.0-ios net9.0-ios was computed. net9.0-maccatalyst net9.0-maccatalyst was computed. net9.0-macos net9.0-macos was computed. net9.0-tvos net9.0-tvos was computed. net9.0-windows net9.0-windows was computed. net10.0 net10.0 was computed. 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. |
| .NET Core | netcoreapp3.0 netcoreapp3.0 was computed. netcoreapp3.1 netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.1 netstandard2.1 is compatible. |
| MonoAndroid | monoandroid monoandroid was computed. |
| MonoMac | monomac monomac was computed. |
| MonoTouch | monotouch monotouch was computed. |
| Tizen | tizen60 tizen60 was computed. |
| Xamarin.iOS | xamarinios xamarinios was computed. |
| Xamarin.Mac | xamarinmac xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos xamarinwatchos was computed. |
Showing the top 1 NuGet packages that depend on TakinProfit.Solid.Primitives.Storage:
| Package | Downloads |
|---|---|
|
TakinProfit.Solid.Tests
Package Description |
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 4.2.0 | 146 | 1/4/2026 |
| 4.1.0 | 131 | 1/3/2026 |
| 4.0.0 | 266 | 12/24/2025 |
| 0.1.0-alpha | 241 | 12/24/2025 |