About syncfusion-maui-color-picker
A guidance skill for implementing and customizing Syncfusion’s .NET MAUI SfColorPicker. It covers color selection modes, presentation, events, localization, and advanced appearance options.
Key features
- 01Palette and spectrum selection
- 02Custom and recent colors
- 03Alpha and manual color input
- 04Inline and popup presentation
- 05Events, styling, and localization
Use cases
- 01Adding color selection to a .NET MAUI app
- 02Configuring custom palettes and recent colors
- 03Handling color changes and opacity
- 04Localizing or styling the picker
Install
Copy the command and run it in a terminal.
npx skills add https:/ / github.com/ syncfusion/ maui-ui-components-skills --skill syncfusion-maui-color-pickerAfter installing, type/syncfusion-maui-color-pickerin Claude Code to confirm it loaded.
Bundled files
References and scripts installed along with SKILL.md.
references/advanced-features.mdcustomization.mddisplay-view.mdevents-and-interaction.mdgetting-started.mdinline-rendering.mdmodes-and-selection.mdDetails
From the project README.NET MAUI Color Picker Implementation
A comprehensive skill for implementing and customizing the Syncfusion .NET MAUI Color Picker (SfColorPicker) control. This control enables users to select colors from palette grids or spectrum gradients, with support for custom colors, recent colors, alpha transparency, and multiple display modes.
When to Use This Skill
Use this skill when you need to:
- Install and set up the Syncfusion .NET MAUI Color Picker
- Implement color selection UI in .NET MAUI applications
- Switch between Palette and Spectrum color modes
- Customize color picker appearance (palettes, sliders, buttons)
- Display color picker inline or as a popup/dropdown
- Handle color selection events (ColorChanging, ColorChanged, ColorSelected)
- Configure recent colors panel and custom color collections
- Implement alpha/opacity control for colors
- Customize display view (icons, templates, dropdown button)
- Add localization support for different cultures
- Enable modern Liquid Glass effect (.NET 10+)
- Troubleshoot color picker implementation issues
Component Overview
The SfColorPicker is a versatile color selection control that provides:
- Two color modes: Palette (predefined color grid) and Spectrum (gradient-based selection)
- Custom colors: Add/remove custom colors to palette
- Recent colors: Automatic tracking of recently selected colors
- Alpha control: Adjustable transparency via alpha slider
- Manual input: Direct color value entry (RGB, HSV, HEX formats)
- Inline & Popup modes: Embed directly in layout or show as dropdown
- No color option: Allow users to deselect/clear color
- Rich customization: Extensive styling for palettes, sliders, buttons, and indicators
- Localization: Multi-language support via resource files
- Modern effects: Liquid Glass/Acrylic visual effect (.NET 10+)
Documentation and Navigation Guide
Getting Started
📄 Read: references/getting-started.md
- Installation via NuGet package
- Handler registration in MauiProgram.cs
- Basic SfColorPicker implementation (XAML & C#)
- First working color picker example
Color Modes and Selection
📄 Read: references/modes-and-selection.md
- ColorMode property (Palette vs Spectrum)
- Setting default SelectedColor
- Color mode switcher visibility
- Recent colors panel (ShowRecentColors)
- ClearRecentColors method
- ShowNoColor option
Customization
📄 Read: references/customization.md
- Input area visibility
- Alpha slider configuration
- Action buttons (Apply/Cancel) visibility and styling
- Button background and label styles
- Recent colors and spectrum input view label styles
- Palette customization (row/column count, spacing, cell shape, size, corner radius)
- Custom palette colors (PaletteColors)
- Selection indicator customization (radius, stroke, thickness)
- Slider thumb customization (fill, radius, stroke, thickness)
- Popup customization (IsOpen, background, relative position)
Display View Customization
📄 Read: references/display-view.md
- Selected color icon (SelectedColorIcon)
- Selected color icon size
- Selected color template (SelectedColorTemplate)
- Drop-down button template (DropDownButtonTemplate)
- Display view height, stroke, and stroke thickness
- Dropdown button width
Inline Rendering
📄 Read: references/inline-rendering.md
- IsInline property
- When to use inline vs popup mode
- Inline color picker implementation
- Use cases for embedded color pickers
Events and Interaction
📄 Read: references/events-and-interaction.md
- ColorChanging event (with cancellation support)
- ColorChanged event (behavior with action buttons)
- ColorSelected event
- ColorChangedCommand
- Event arguments and properties
- Practical examples with UI updates
Advanced Features
📄 Read: references/advanced-features.md
- Localization setup and configuration
- Setting CurrentUICulture
- Resource file structure
- Liquid Glass effect (EnableLiquidGlassEffect)
- Platform requirements (.NET 10+, iOS 26, macOS 26)
- Visual tips and best practices