syncfusion-maui-rating

$npx mdskill add syncfusion/maui-ui-components-skills/syncfusion-maui-rating

Implement customizable star ratings in .NET MAUI apps.

  • Solves the need for rating UI in reviews, feedback, or e-commerce apps.
  • Depends on Syncfusion.Maui.Inputs NuGet package and SfRating control.
  • Configures precision, shapes, colors, and events based on user requirements.
  • Renders a fully styled rating control with value change event handling.

SKILL.md

.github/skills/syncfusion-maui-ratingView on GitHub ↗
---
name: syncfusion-maui-rating
description: Implements Syncfusion .NET MAUI Rating (SfRating) control. Use when implementing star ratings, review systems, feedback mechanisms, or product ratings in MAUI apps. Covers rating control configuration, star rating, half-star rating, custom rating shapes, rating precision, and rating events.
metadata:
  author: "Syncfusion Inc"
  version: "34.1.29"
---

# Implementing .NET MAUI Rating

A comprehensive skill for implementing the Syncfusion .NET MAUI Rating control. The `SfRating` control provides a flexible and customizable rating interface with support for various precision modes, shapes, and styling options.

## When to Use This Skill

Use this skill when users need to:
- Implement star ratings or review systems in MAUI applications
- Create product rating displays (e.g., e-commerce apps)
- Build feedback mechanisms for user experiences
- Display or collect ratings with custom precision (full, half, exact)
- Use custom rating shapes (heart, diamond, circle, or custom paths)
- Style rating controls with custom colors and strokes
- Handle rating value changes through events
- Create read-only rating displays
- Implement any rating UI component in .NET MAUI

## Component Overview

The `SfRating` control is part of the `Syncfusion.Maui.Inputs` package and provides:

- **Flexible Precision**: Standard (full), Half (half-step), or Exact (precise) rating modes
- **Multiple Shapes**: Star, Heart, Diamond, Circle, or custom SVG paths
- **Rich Customization**: Colors, strokes, sizes, spacing, and styling
- **Interactive & Display Modes**: Editable or read-only ratings
- **Event Support**: ValueChanged event for handling rating changes
- **Easy Integration**: Simple XAML and C# APIs

**Common Use Cases:**
- Product reviews (1-5 stars)
- Movie/content ratings
- User feedback forms
- Service quality ratings
- Skill level indicators
- Preference selections

## Documentation and Navigation Guide

### Getting Started
📄 **Read:** [references/getting-started.md](references/getting-started.md)
- Installation and NuGet package setup (`Syncfusion.Maui.Inputs`)
- Handler registration in `MauiProgram.cs`
- Basic `SfRating` implementation in XAML and C#
- Setting `ItemCount` and `Value` properties
- Namespace imports and initial setup
- Simple rating example

### Precision and Accuracy
📄 **Read:** [references/precision-modes.md](references/precision-modes.md)
- **Standard Precision**: Full item rating (whole stars)
- **Half Precision**: Half-step rating (half stars)
- **Exact Precision**: Precise decimal rating
- Choosing the right precision mode
- Use cases for each precision type
- Code examples for all modes

### Visual Customization
📄 **Read:** [references/rating-shapes.md](references/rating-shapes.md)
- Predefined shapes (Star, Heart, Diamond, Circle)
- Custom shapes with SVG path data
- Path property and sizing guidelines

📄 **Read:** [references/appearance-styling.md](references/appearance-styling.md)
- Item size and spacing configuration
- Fill colors (RatedFill, UnratedFill)
- Stroke colors and thickness
- RatingSettings comprehensive guide
- Design best practices

### Interactive Features
📄 **Read:** [references/interactive-features.md](references/interactive-features.md)
- IsReadOnly property for display-only ratings
- ValueChanged event handling
- User interaction control
- Event data and scenarios
- Data binding with events

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.