Fabulous.Avalonia.ColorPicker 10.0.5

dotnet add package Fabulous.Avalonia.ColorPicker --version 10.0.5
                    
NuGet\Install-Package Fabulous.Avalonia.ColorPicker -Version 10.0.5
                    
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="Fabulous.Avalonia.ColorPicker" Version="10.0.5" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Fabulous.Avalonia.ColorPicker" Version="10.0.5" />
                    
Directory.Packages.props
<PackageReference Include="Fabulous.Avalonia.ColorPicker" />
                    
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 Fabulous.Avalonia.ColorPicker --version 10.0.5
                    
#r "nuget: Fabulous.Avalonia.ColorPicker, 10.0.5"
                    
#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 Fabulous.Avalonia.ColorPicker@10.0.5
                    
#: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=Fabulous.Avalonia.ColorPicker&version=10.0.5
                    
Install as a Cake Addin
#tool nuget:?package=Fabulous.Avalonia.ColorPicker&version=10.0.5
                    
Install as a Cake Tool

ColorPicker for Fabulous.Avalonia

The ColorPicker control is a cross-platform view for selecting, previewing, and editing colors in a Fabulous.Avalonia app. It is based on the Avalonia . See the [Avalonia documentation]

How to use

  • Add the Fabulous.Avalonia.ColorPicker package to your project.
  • Open Fabulous.Avalonia at the top of the file where you declare your Fabulous program (eg. Program.stateful).
open Fabulous.Aavalonia

open type Fabulous.Avalonia.View
Using the ColorPicker Widget

Now you can use the ColorView, ColorPicker, ColorSpectrum, ColorSlider and ColorPreviewer widgets in your Fabulous app as follows:

ColorView(...)
    .colorSpectrumShape(ColorSpectrumShape.Ring)

ColorPicker(...)
    .hsvColor(HsvColor.Parse("hsv(120, 1, 1)"))
    .palette(FlatHalfColorPalette())
    
ColorSpectrum(...)
    .cornerRadius(10.)
    .height(256.)
    .width(256.)

ColorSlider(...)
    .colorComponent(ColorComponent.Component1)
    .colorModel(ColorModel.Hsva)
    .hsvColor(model.ColorSpectrum.ToHsv())
    
ColorPreviewer(...)
    .isAccentColorsVisible(false)
    .hsvColor(model.ColorSpectrum.ToHsv())

A full, working example is included in the ColorPicker sample

Additionally, we have the Fabulous Discord server where you can ask any of your Fabulous related questions.

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  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

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
10.0.5 71 11/22/2026
10.0.4 129 10/12/2026
10.0.3 110 9/30/2026
10.0.2 103 9/27/2026
10.0.1 160 9/7/2026
10.0.0 138 8/24/2026
3.0.0-pre9 232 1/17/2025
3.0.0-pre8 202 12/27/2024
3.0.0-pre7 209 11/27/2024
3.0.0-pre6 253 5/20/2024
3.0.0-pre5 268 5/17/2024
3.0.0-pre4 222 4/19/2024
3.0.0-pre3 245 4/13/2024
3.0.0-pre2 205 3/31/2024
3.0.0-pre13 467 11/19/2025
3.0.0-pre12 183 5/24/2025
3.0.0-pre11 253 4/7/2025
3.0.0-pre10 188 2/28/2025
3.0.0-pre1 253 3/23/2024
2.4.0 318 4/7/2025
Loading failed

### Fixed

- Fix messages dispatched during runner start (init command, subscription start) staying queued until the next dispatch (#1422)