Implementing .NET MAUI Shimmer (SfShimmer)
SfShimmer displays an animated shimmer placeholder while content loads in the background, improving perceived app responsiveness. It supports 7 built-in layout types, fully custom views using ShimmerView shapes, and extensive wave animation customization.
When to Use This Skill
Use this skill when users need to:
- Add a loading placeholder before data or content is fetched
- Show a skeleton screen while an API call completes
- Replace a spinner with a content-shaped loading animation
- Customize shimmer colors, wave direction, or animation speed
- Build a custom shimmer layout that mirrors your actual UI
Component Overview
The SfShimmer control provides:
- Built-in Layout Types: 7 pre-designed shimmer patterns (CirclePersona, SquarePersona, Profile, Article, Video, Feed, Shopping)
- Custom View Support: Build custom shimmer layouts using ShimmerView with Circle, Rectangle, and RoundedRectangle shapes
- Wave Animation Control: Configurable wave direction (5 options), width, and animation duration
- Color Customization: Independent Fill (background) and WaveColor (highlight) properties
- Repeat Patterns: RepeatCount property for vertical stacking of shimmer layouts
- Content Toggle: IsActive property for seamless switching between shimmer and loaded content
- Flexible Integration: Works with any .NET MAUI View as child content
- Performance Optimized: Lightweight animation that improves perceived app responsiveness
Documentation and Navigation Guide
Getting Started
📄 Read: references/getting-started.md
- Installing
Syncfusion.Maui.Core NuGet package
- Registering the handler in
MauiProgram.cs
- Adding
SfShimmer in XAML and C#
- Toggling between shimmer and content with
IsActive
Built-in View Types
📄 Read: references/built-in-views.md
- 7 built-in
ShimmerType values: CirclePersona, SquarePersona, Profile, Article, Video, Feed, Shopping
- Setting the
Type property in XAML and C#
- Default type and when to choose each layout
Custom Views
📄 Read: references/custom-views.md
- Building a custom shimmer layout with
CustomView and BoxView
- Using
ShimmerView with ShapeType (Circle, Rectangle, RoundedRectangle)
- Full XAML and C# examples for complex custom layouts
Customization & Animation
📄 Read: references/customization.md
Fill — shimmer background color
WaveColor — shimmer highlight color
WaveWidth — width of the wave highlight
WaveDirection — 5 directions (Default, LeftToRight, RightToLeft, TopToBottom, BottomToTop)
RepeatCount — repeat the shimmer pattern vertically
AnimationDuration — control animation speed in milliseconds
1---2name: syncfusion-maui-shimmer3description: Implements Syncfusion .NET MAUI Shimmer (SfShimmer) loading placeholder effects. Use when implementing shimmer or skeleton loading animations, loading placeholders, or content loading indicators in .NET MAUI apps. Covers shimmer types (CirclePersona, Article, Feed, Shopping), custom shimmer views, wave animation, and customization.4---5
6# Implementing .NET MAUI Shimmer (SfShimmer)
7
8`SfShimmer` displays an animated shimmer placeholder while content loads in the background, improving perceived app responsiveness. It supports 7 built-in layout types, fully custom views using `ShimmerView` shapes, and extensive wave animation customization.
9
10## When to Use This Skill
11
12Use this skill when users need to:
13- **Add a loading placeholder** before data or content is fetched
14- **Show a skeleton screen** while an API call completes
15- **Replace a spinner** with a content-shaped loading animation
16- **Customize shimmer colors**, wave direction, or animation speed
17- **Build a custom shimmer layout** that mirrors your actual UI
18
19## Component Overview
20
21The **SfShimmer** control provides:
22- **Built-in Layout Types**: 7 pre-designed shimmer patterns (CirclePersona, SquarePersona, Profile, Article, Video, Feed, Shopping)
23- **Custom View Support**: Build custom shimmer layouts using ShimmerView with Circle, Rectangle, and RoundedRectangle shapes
24- **Wave Animation Control**: Configurable wave direction (5 options), width, and animation duration
25- **Color Customization**: Independent Fill (background) and WaveColor (highlight) properties
26- **Repeat Patterns**: RepeatCount property for vertical stacking of shimmer layouts
27- **Content Toggle**: IsActive property for seamless switching between shimmer and loaded content
28- **Flexible Integration**: Works with any .NET MAUI View as child content
29- **Performance Optimized**: Lightweight animation that improves perceived app responsiveness
30
31## Documentation and Navigation Guide
32
33### Getting Started
34📄 **Read:** [references/getting-started.md](references/getting-started.md)
35- Installing `Syncfusion.Maui.Core` NuGet package
36- Registering the handler in `MauiProgram.cs`
37- Adding `SfShimmer` in XAML and C#
38- Toggling between shimmer and content with `IsActive`
39
40### Built-in View Types
41📄 **Read:** [references/built-in-views.md](references/built-in-views.md)
42- 7 built-in `ShimmerType` values: CirclePersona, SquarePersona, Profile, Article, Video, Feed, Shopping
43- Setting the `Type` property in XAML and C#
44- Default type and when to choose each layout
45
46### Custom Views
47📄 **Read:** [references/custom-views.md](references/custom-views.md)
48- Building a custom shimmer layout with `CustomView` and `BoxView`
49- Using `ShimmerView` with `ShapeType` (Circle, Rectangle, RoundedRectangle)
50- Full XAML and C# examples for complex custom layouts
51
52### Customization & Animation
53📄 **Read:** [references/customization.md](references/customization.md)
54- `Fill` — shimmer background color
55- `WaveColor` — shimmer highlight color
56- `WaveWidth` — width of the wave highlight
57- `WaveDirection` — 5 directions (Default, LeftToRight, RightToLeft, TopToBottom, BottomToTop)
58- `RepeatCount` — repeat the shimmer pattern vertically
59- `AnimationDuration` — control animation speed in milliseconds
60