Elevate Your App's User Experience with the New .NET MAUI Shimmer Control
Live Chat Icon For mobile
Live Chat Icon
Popular Categories.NET  (179).NET Core  (29).NET MAUI  (214)Angular  (110)ASP.NET  (51)ASP.NET Core  (83)ASP.NET MVC  (90)Azure  (41)Black Friday Deal  (1)Blazor  (226)BoldSign  (15)DocIO  (24)Essential JS 2  (109)Essential Studio  (200)File Formats  (68)Flutter  (133)JavaScript  (226)Microsoft  (120)PDF  (81)Python  (1)React  (105)Streamlit  (1)Succinctly series  (131)Syncfusion  (942)TypeScript  (33)Uno Platform  (3)UWP  (4)Vue  (45)Webinar  (52)Windows Forms  (61)WinUI  (71)WPF  (163)Xamarin  (161)XlsIO  (38)Other CategoriesBarcode  (5)BI  (29)Bold BI  (8)Bold Reports  (2)Build conference  (9)Business intelligence  (55)Button  (4)C#  (157)Chart  (140)Chart of the week  (54)Cloud  (15)Company  (443)Dashboard  (8)Data Science  (3)Data Validation  (8)DataGrid  (70)Development  (658)Doc  (8)DockingManager  (1)eBook  (99)Enterprise  (22)Entity Framework  (7)Essential Tools  (14)Excel  (43)Extensions  (22)File Manager  (7)Gantt  (19)Gauge  (12)Git  (5)Grid  (31)HTML  (13)Installer  (2)Knockout  (2)Language  (1)LINQPad  (1)Linux  (2)M-Commerce  (1)Metro Studio  (11)Mobile  (512)Mobile MVC  (9)OLAP server  (1)Open source  (1)Orubase  (12)Partners  (21)PDF viewer  (43)Performance  (12)PHP  (2)PivotGrid  (4)Predictive Analytics  (6)Report Server  (3)Reporting  (10)Reporting / Back Office  (11)Rich Text Editor  (12)Road Map  (12)Scheduler  (54)Security  (4)SfDataGrid  (9)Silverlight  (21)Sneak Peek  (31)Solution Services  (4)Spreadsheet  (11)SQL  (14)Stock Chart  (1)Surface  (4)Tablets  (5)Theme  (12)Tips and Tricks  (112)UI  (393)Uncategorized  (68)Unix  (2)User interface  (68)Visual State Manager  (2)Visual Studio  (31)Visual Studio Code  (19)Web  (614)What's new  (333)Windows 8  (19)Windows App  (2)Windows Phone  (15)Windows Phone 7  (9)WinRT  (26)
Elevate Your App's User Experience with the New .NET MAUI Shimmer Control

Elevate Your App’s User Experience with the New .NET MAUI Shimmer Control

The user experience of an application begins from the moment it is launched until the user exits, and it plays a vital role in engaging the user. Therefore, ensuring an exemplary user interface is essential for any app.

Showing an empty screen while loading data in the background can mess up the user experience. Loading indicators help us make the app look responsive instead. In the Essential Studio 2023 Volume 1 release, Syncfusion introduced a new loading indicator control in the .NET MAUI platform, the Shimmer control.

The new .NET MAUI Shimmer control provides a seamless user experience while the app fetches data from either local or remote sources. It works by showing a preview of the actual view displayed on the app rather than a loading animation. This helps us easily understand the loaded content while providing a more visually appealing user experience.

.NET MAUI Shimmer control
.NET MAUI Shimmer control

In this blog, we’ll see the key features of the .NET MAUI Shimmer control and the steps to get started with it.

Built-in shimmer effect views

The .NET MAUI Shimmer control supports seven built-in shimmer effect views that can be assigned using the Type property. These shimmer types are: circle, square, profile, article, video, feed, and shopping. By default, the circle persona view is assigned to the control.

Each view has its unique shimmer effect, allowing developers to choose the one that best fits their app’s UI design. The flexibility of customizing the shimmer view according to specific requirements can help developers enhance their app’s overall user experience.

Circle persona
Circle persona
Square persona
Square persona
Article persona
Article persona
Video persona
Video persona
Feed persona
Shopping persona
Shopping persona
Profile persona
Profile persona

Custom shimmer effect view

You can also easily create and integrate a custom shimmer effect view. To do so, set the CustomView property to the desired view, and then the shimmer effect will be applied. This will provide a more personalized and engaging user experience.

To customize the shape of the custom view, you can use the ShimmerView class with different ShapeTypes. It supports three shapes: rectangle, circle, and rounded rectangle. By default, the shape type is set to rectangle.

.NET MAUI Shimmer control with custom view
.NET MAUI Shimmer control with custom view

Customizing the shimmer view and its effects

Customizing the .NET MAUI Shimmer control is easy. You can adjust the color, wave color, wave width, repeat count, animation duration, and wave direction properties to create a shimmer effect that matches your app’s design.

For instance, you can set the repeat count to determine how often the shimmer effect should be rendered or change the wave direction to make the shimmer move horizontally or vertically. By experimenting with different combinations of properties, you can achieve a unique and eye-catching shimmer effect.

Shimmer effect with custom fill color
Shimmer effect with custom fill color
Shimmer effect with custom wave color
Shimmer effect with custom wave color
Shimmer effect with custom wave width
Shimmer effect with custom wave width
Shimmer effect with custom animation duration
Shimmer effect with custom animation duration
Shimmer effect with custom wave direction
Shimmer effect with custom wave direction
Shimmer effect with custom repeat count
Shimmer effect with custom repeat count

Integrating .NET MAUI Shimmer control into your app

Note: Before proceeding, please refer to the .NET MAUI Shimmer control getting started documentation.

The .NET MAUI Shimmer is a content view that accepts any layout and shows it with a shimmer effect. The shimmer animation effect will be displayed if the IsActive property value is set to true, and either built-in or custom views can be used to define the shimmer animation view.

Refer to the following code example. In it, we have used the Article shimmer effect type.

<ContentPage  
    . . .
 xmlns:shimmer="clr-namespace:Syncfusion.Maui.Shimmer;assembly=Syncfusion.Maui.Core">
 
 <shimmer:SfShimmer x:Name="Shimmer" Type="Article">
  <Grid>
    …
  </Grid>
 </shimmer:SfShimmer>
   
</ContentPage>
Integrating the Shimmer control in a .NET MAUI application
Integrating the Shimmer control in a .NET MAUI application

Conclusion

Thanks for reading! The Syncfusion .NET MAUI Shimmer is a powerful tool for enhancing your app’s user experience. By using its built-in views or creating custom views, you can add a shimmer effect to any view and make it more visually appealing. With its various customization options, you can tailor the shimmer effect to fit your specific design needs.

This control is available in our 2023 Volume 1 release. Check out our Release Notes and What’s New pages to see the other new updates in this release.

Also, try our .NET MAUI control demos on GitHub and share your feedback or ask questions in the comments section below. If you are not a Syncfusion customer, try our 30-day free trial to see how our components can enhance your projects.

Test Flight
App Center Badge
Google Play Store Badge
Microsoft Badge
Github Store Badge

Related blogs

Tags:

Share this post:

Popular Now

Be the first to get updates

Subscribe RSS feed

Be the first to get updates

Subscribe RSS feed