syncfusion-maui-color-picker

$npx mdskill add syncfusion/maui-ui-components-skills/syncfusion-maui-color-picker

Implement Syncfusion .NET MAUI Color Picker for color selection UI.

  • Enables color selection via palette grids or spectrum gradients in MAUI apps.
  • Depends on Syncfusion .NET MAUI NuGet package (SfColorPicker).
  • Chooses palette or spectrum mode based on user configuration.
  • Provides inline or popup color picker with events and customization.

SKILL.md

.github/skills/syncfusion-maui-color-pickerView on GitHub ↗
---
name: syncfusion-maui-color-picker
description: Implements Syncfusion .NET MAUI Color Picker (SfColorPicker). Use when implementing color picker functionality, color selection UI, palette mode, spectrum mode, or alpha slider configuration in .NET MAUI applications. Covers inline rendering, popup customization, color changed events, localization, and liquid glass effect.
metadata:
  author: "Syncfusion Inc"
  version: "34.1.29"
---

# .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](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](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](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](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](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](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](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

More from syncfusion/maui-ui-components-skills

SkillDescription
syncfusion-maui-accordionImplements Syncfusion .NET MAUI Accordion (SfAccordion) - a vertically collapsible panel with stacked headers for expanding/collapsing content. Use when working with accordions, collapsible panels, expandable lists, employee lists with details, or FAQ sections in .NET MAUI applications. Covers AccordionItem configuration, expand modes, and grouped content display.
syncfusion-maui-ai-assistviewImplements Syncfusion .NET MAUI AI AssistView (SfAIAssistView) for AI-powered interactive chat interfaces. Use when working with AI chat interfaces, AI AssistView, SfAIAssistView, conversational UI, or chat with AI responses. Covers integrating AI services, creating chat UIs, implementing conversation flows, managing AI requests/responses, and displaying AI suggestions.
syncfusion-maui-autocompleteImplements and configure Syncfusion .NET MAUI Autocomplete (SfAutocomplete) control for intelligent text input with suggestions. Use when implementing autocomplete, autosuggest, type-ahead search, smart search, or filtered dropdowns in .NET MAUI applications. Covers data binding, filtering modes, custom search logic, AI-powered search, multi-selection with tokens, and UI customization.
syncfusion-maui-avatar-viewImplements Syncfusion .NET MAUI Avatar View (SfAvatarView) for displaying user profile pictures, initials, or group avatars. Use when working with avatar views, profile pictures, user images, initials display, profile icons, or contact images. Ideal for implementing user profile displays, contact lists, chat interfaces, or social feeds.
syncfusion-maui-backdropImplements Syncfusion .NET MAUI Backdrop Page (SfBackdropPage) with back layer and front layer surfaces. Use when working with backdrop pages, SfBackdropPage, back layer, front layer, or reveal/conceal animations. Covers backdrop navigation patterns, header icons, corner shapes, reveal height, layer state events, and liquid glass effect.
syncfusion-maui-badge-viewImplements Syncfusion .NET MAUI Badge View (SfBadgeView) control. Use when adding badge notifications, status indicators, unread counts, or notification overlays to MAUI applications. Covers SfBadgeView setup, badge text customization, position adjustments, animations, predefined symbols, and accessibility features.
syncfusion-maui-barcode-generatorImplements Syncfusion .NET MAUI Barcode Generator (SfBarcodeGenerator) for generating machine-readable barcodes. Use when working with barcodes, barcode generation, QR codes, data matrix, EAN codes, UPC codes, Code128, or Code39. This skill covers both one-dimensional (linear) and two-dimensional (matrix) barcode symbologies with extensive customization options.
syncfusion-maui-busy-indicatorImplements Syncfusion .NET MAUI Busy Indicator (SfBusyIndicator) for showing loading states, data processing, and app activity indicators. Use when displaying loading indicators, busy animations, activity spinners, or processing feedback in .NET MAUI apps. Covers busy indicator setup, animations, and visual feedback during long-running operations.
syncfusion-maui-buttonImplements and customize Syncfusion .NET MAUI Button (SfButton) control. Use when working with MAUI buttons, SfButton implementation, button customization, or visual states. Covers button icons, background images, RTL support, Liquid Glass effects, custom button views, button styling, events, and checkable buttons.
syncfusion-maui-calendarImplements and customize Syncfusion .NET MAUI Calendar (SfCalendar) control. Use when implementing calendar functionality, date selection (single, multiple, range), or calendar views (month, year, decade, century). Covers date restrictions (min/max dates, EnablePastDates, SelectableDayPredicate), calendar customization, events (ViewChanged, SelectionChanged, Tapped), and header/footer customization.