mcpField
S
syncfusion-maui-toolkit-cards

syncfusion-maui-toolkit-cards

github.com/syncfusionDesign & UI3947 installsUpdated 7w ago
Repository

About syncfusion-maui-toolkit-cards

A skill for implementing Syncfusion .NET MAUI Cards, for developers building card-based interfaces in .NET MAUI. It covers single dismissible cards and swipeable card stacks, along with binding, customization, and interaction events.

Key features

  1. 01Create dismissible SfCardView cards
  2. 02Build swipeable SfCardLayout stacks
  3. 03Configure four-way swipe directions
  4. 04Bind collections with BindableLayout
  5. 05Customize borders, corners, and indicators
  6. 06Handle tap, dismiss, and index events

Use cases

  1. 01Add swipe-to-dismiss cards to a .NET MAUI UI
  2. 02Build a navigable stack of cards
  3. 03Generate cards from a bound data collection
  4. 04Respond to card taps and dismissal events

Install

Copy the command and run it in a terminal.

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

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

Bundled files

References and scripts installed along with SKILL.md.

references/
card-layouts.md
card-views.md
customization.md
data-binding.md
events.md
getting-started.md

Details

From the project README

Implementing .NET MAUI Cards (SfCards)

The Syncfusion .NET MAUI Cards control, which provides both dismissible single card views (SfCardView) and swipeable card stacks (SfCardLayout). This skill covers installation, card creation, swipe gestures, customization, data binding, events, and modern visual effects.

When to Use This Skill

Use this skill when the user needs to:

  • Create dismissible card views - Single cards that can be swiped away (left/right)
  • Build card stacks - Multiple stacked cards with swipe navigation
  • Implement swipe gestures - Cards that respond to swipe in four directions (left, right, top, bottom)
  • Display card-based UI - Visual card containers for content organization
  • Add interactive cards - Cards with tap events, dismiss events, and state management
  • Bind data to cards - Dynamically generate cards from data collections using BindableLayout
  • Customize card appearance - Borders, corners, indicators, colors.
  • Handle card events - Tapped, dismissing, dismissed, index changing events

This skill is specifically for Syncfusion's .NET MAUI Cards control (SfCardView and SfCardLayout), not generic card layouts or other card libraries.

Component Overview

The Syncfusion .NET MAUI Cards control provides two main components:

  1. SfCardView - A single card that can optionally be dismissed by swiping
  2. SfCardLayout - A container for stacking multiple SfCardView items with swipe navigation

Key Capabilities:

  • Swipe-to-dismiss functionality
  • Multi-directional swipe support (left, right, top, bottom)
  • Visual customization (borders, corners, indicators)
  • Programmatic card dismissal
  • Data binding with BindableLayout
  • Comprehensive event handling

Documentation and Navigation Guide

Getting Started

📄 Read: references/getting-started.md

Read this reference when the user needs to:

  • Install the Syncfusion.Maui.Toolkit NuGet package
  • Register Syncfusion handlers in MauiProgram.cs (ConfigureSyncfusionToolkit)
  • Create their first SfCardView
  • Understand basic XAML and C# implementation patterns
Card View Features

📄 Read: references/card-views.md

Read this reference when the user works with single cards and needs:

  • SfCardView component overview and usage
  • SwipeToDismiss property for swipe-away functionality
  • IsDismissed property for programmatic dismissal
  • FadeOutOnSwiping visual effect
  • Single card implementation patterns
  • Standalone card scenarios
Card Layout Features

📄 Read: references/card-layouts.md

Read this reference when the user needs card stacks with:

  • SfCardLayout component (multiple stacked cards)
  • ShowSwipedCard property for edge display
  • VisibleIndex property for card navigation
  • SwipeDirection configuration (Left, Right, Top, Bottom)
  • Multiple card management
  • Swipe gesture navigation between cards
Customization and Styling

📄 Read: references/customization.md

Read this reference when the user wants to customize:

  • BorderColor, BorderWidth, CornerRadius properties
  • Background colors and gradients
  • Indicator customization (color, thickness, position)
  • FadeOutOnSwiping effect
  • Advanced visual styling
  • Custom card designs and themes
Data Binding with BindableLayout

📄 Read: references/data-binding.md

Read this reference when the user needs to:

  • Generate cards dynamically from data collections
  • Use BindableLayout with SfCardLayout
  • Set up ViewModels and data sources
  • Configure ItemsSource and ItemTemplate
  • Create data-driven card interfaces
  • Bind card properties to data models
Events and Interactions

📄 Read: references/events.md

Read this reference when the user needs to handle:

  • Tapped event (card tap detection)
  • VisibleIndexChanging event (before card changes, with Cancel support)
  • VisibleIndexChanged event (after card changes)
  • Dismissing event (before dismiss, with Cancel support)
  • Dismissed event (after dismiss completes)
  • Event handler implementation and scenarios

Comments

Markdown supported