mcpField
S
syncfusion-maui-carousel

syncfusion-maui-carousel

github.com/syncfusionDevelopment61209 installsUpdated 2w ago
Repository

About syncfusion-maui-carousel

A documentation skill for implementing and customizing the Syncfusion .NET MAUI Carousel (SfCarousel). It covers data population, layouts, animations, virtualization, and swipe events for developers building image galleries or content carousels.

Key features

  1. 01Linear and 3D view modes
  2. 02Data binding and item templates
  3. 03Configurable transition animations
  4. 04Load-more support and virtualization
  5. 05Selection and swipe events

Use cases

  1. 01Build image galleries or slideshows
  2. 02Present cards or custom content
  3. 03Load additional items dynamically
  4. 04Handle selection and swipe interactions

Install

Copy the command and run it in a terminal.

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

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

Bundled files

References and scripts installed along with SKILL.md.

references/
advanced-features.md
animation.md
getting-started.md
howto.md
populating-data.md
swipe-events.md
view-modes.md

Details

From the project README

Implementing .NET MAUI Carousel

A comprehensive skill for implementing and customizing the Syncfusion .NET MAUI Carousel (SfCarousel) control. The carousel allows users to navigate through image data or content in an interactive way with various customization options for item arrangements.

When to Use This Skill

Use this skill when users need to:

  • Implement a carousel/slideshow component for .NET MAUI applications
  • Navigate through collections of images, cards, or custom content
  • Create interactive image galleries or product showcases
  • Display content with linear or default (3D) view arrangements
  • Implement swipe gestures for content navigation
  • Add load more functionality for dynamic content loading
  • Optimize performance with UI virtualization for large datasets
  • Customize carousel animations and transitions
  • Handle carousel selection and swipe events

Component Overview

The SfCarousel control provides:

  • Multiple View Modes: Linear arrangement or Default (3D perspective) layout
  • Flexible Data Population: Through data binding or direct item creation
  • Animation Control: Customizable transition duration and effects
  • Load More Support: Dynamically load additional items on demand
  • UI Virtualization: Performance optimization for large item collections
  • Rich Events: Selection changed, swipe started/ended, swiping events
  • Customization: Item templates, rotation angles, spacing, transformations

Documentation and Navigation Guide

Getting Started

📄 Read: references/getting-started.md

  • Installation and NuGet package setup
  • Handler registration in MauiProgram.cs
  • Basic carousel implementation with minimal code
  • Adding carousel items (through binding or direct)
  • Setting item dimensions (ItemHeight, ItemWidth)
  • Configuring SelectedIndex to show desired item
Populating Data

📄 Read: references/populating-data.md

  • Data binding with ItemsSource and ItemTemplate
  • Creating models and ViewModels for carousel data
  • Custom DataTemplate for carousel items
  • Using SfCarouselItem with ItemContent property
  • Using ImageName property for simple image carousels
  • ObservableCollection for dynamic data
View Modes and Layout

📄 Read: references/view-modes.md

  • Linear arrangement (ViewMode.Linear) for stacked layout
  • Default arrangement (ViewMode.Default) for 3D perspective
  • Offset property for spacing between unselected items
  • Rotation angle for visual effects
  • ItemSpacing configuration
Animation

📄 Read: references/animation.md

  • Duration property for transition timing
  • Controlling animation speed (milliseconds)
  • Smooth vs fast transitions
  • Default animation behavior (600ms)
Advanced Features

📄 Read: references/advanced-features.md

  • Load More functionality (AllowLoadMore, LoadMoreItemsCount)
  • Customizing LoadMoreView appearance
  • UI Virtualization (EnableVirtualization) for performance
  • Transformation effects (rotation, scale)
  • Performance optimization techniques
Swipe Events

📄 Read: references/swipe-events.md

  • SwipeStarted event handling
  • SwipeEnded event for post-swipe actions
  • Swiping event for during-swipe feedback
  • Custom swipe behavior implementation
  • Event argument properties
How-To

📄 Read: references/howto.md

  • Performing operations during item changes
  • SelectionChanged event usage
  • Best practices and tips

Comments

Markdown supported