mcpField
S
syncfusion-maui-effects-view

syncfusion-maui-effects-view

github.com/syncfusionDesign & UI61205 installsUpdated 2w ago
Repository

About syncfusion-maui-effects-view

A skill for .NET MAUI developers using SfEffectsView to add touch animations and feedback to views. It covers effect customization, interaction events, and MVVM commands.

Key features

  1. 01Ripple, highlight, selection, scale, and rotation effects
  2. 02Touch-down, touch-up, and long-press handling
  3. 03Custom animation timing, colors, and transforms
  4. 04Combine effects and respond to events
  5. 05MVVM commands and programmatic triggers

Use cases

  1. 01Add ripple feedback to buttons, cards, and list items
  2. 02Give custom views button-like interactions
  3. 03Show visual feedback for list item selection
  4. 04Add context interactions to long presses

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/syncfusion/maui-ui-components-skills --skill syncfusion-maui-effects-view

After installing, type/syncfusion-maui-effects-viewin Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

references/
commands-and-methods.md
customization.md
events.md
features.md
getting-started.md
interaction-and-effects.md
use-cases-and-patterns.md

Details

From the project README

.NET MAUI Effects View (SfEffectsView)

A container control that provides modern visual effects for touch interactions including ripple, highlight, selection, scaling, and rotation animations. Wrap any MAUI view to add professional touch feedback and enhance user experience.

When to Use This Skill

Use this skill ALWAYS when you need to:

  • Add ripple effects to buttons, cards, or list items
  • Implement highlight overlays on touch/press
  • Create selection indicators with visual feedback
  • Add scale animations (zoom in/out) on interaction
  • Implement rotation effects for interactive elements
  • Provide touch feedback for any MAUI view (Image, Label, Grid, etc.)
  • Handle touch events (tap, long press, touch up/down) with visual feedback
  • Wrap existing UI elements with interactive effects
  • Create button-like behavior for custom views
  • Enhance UX with Material Design-style ripple effects

Component Overview

SfEffectsView is a wrapper control that renders visual effects based on touch interactions:

Key Capabilities:

  • 5 Effect Types: Ripple, Highlight, Selection, Scale, Rotation
  • 3 Touch Interactions: TouchDown, TouchUp, LongPress
  • Customizable: Animation duration, colors, scaling factors, rotation angles
  • Combinable: Apply multiple effects simultaneously
  • Event-Driven: AnimationCompleted, SelectionChanged, touch events
  • MVVM Support: Command bindings for LongPressed, TouchDown, TouchUp
  • Programmatic Control: ApplyEffects() and Reset() methods for code-triggered effects

Documentation and Navigation Guide

Getting Started

📄 Read: references/getting-started.md

  • NuGet package installation (Syncfusion.Maui.Core)
  • Handler registration in MauiProgram.cs
  • Basic SfEffectsView implementation in XAML and C#
  • Adding content to SfEffectsView (wrapping views)
  • First ripple effect example
Touch Interactions and Effects Types

📄 Read: references/interaction-and-effects.md

  • Touch interaction types (TouchDownEffects, TouchUpEffects, LongPressEffects)
  • Ripple effect: expandable circle animation
  • Highlight effect: solid color overlay
  • Selection effect: persistent selection state
  • Scale effect: zoom in/out animations
  • Rotation effect: rotate views on interaction
  • Combining multiple effects
  • Effect lifecycle and behavior
Customization and Styling

📄 Read: references/customization.md

  • RippleAnimationDuration: customize ripple timing
  • ScaleAnimationDuration: control scale speed
  • RotationAnimationDuration: adjust rotation timing
  • InitialRippleFactor: set ripple starting size
  • ScaleFactor: control zoom level (0.0-1.0+)
  • HighlightBackground: change highlight color
  • RippleBackground: customize ripple color
  • SelectionBackground: set selection color
  • Angle: rotation degrees (0-360)
Features and Configuration

📄 Read: references/features.md

  • FadeOutRipple: ripple fades while expanding
  • IsSelected: programmatic selection state
  • ShouldIgnoreTouches: disable direct interaction
  • AutoResetEffects: auto-remove effects on touch up (Android/UWP)
  • Platform-specific behaviors
Events and Handlers

📄 Read: references/events.md

  • AnimationCompleted: fired when effects finish
  • SelectionChanged: fired on selection state change
  • LongPressed: fired on long press gesture
  • TouchDown: fired when touch begins
  • TouchUp: fired when touch ends
  • Event timing and lifecycle
Commands and Methods

📄 Read: references/commands-and-methods.md

  • MVVM command support: LongPressedCommand, TouchDownCommand, TouchUpCommand
  • Command parameters for data passing
  • ApplyEffects method: programmatic effect triggering
  • Reset method: remove applied effects
  • Repeating ripple animations
  • Ripple start positions and custom points
Use Cases and Patterns

📄 Read: references/use-cases-and-patterns.md

  • Button-like interactions for custom views
  • List item selection with ripple feedback
  • Card interactions in dashboards
  • Long-press actions and context menus
  • Image galleries with touch effects
  • Combining effects for rich interactions
  • Accessibility considerations
  • Performance optimization tips

Comments

Markdown supported