Repository navigation
Open
Labels
experiment 🧪Used to track issues that are experiments (or their linked discussions)
Milestone
Description
Approved from Discussion
Problem Statement
A way to indicate to the user that certain parts of the screen are loading.
Overview
This experiment adds the following components:
- Shimmer: a loading indication control
Using
You can try it out via the NuGet Packages here:
UWP
https://dev.azure.com/dotnet/CommunityToolkit/_artifacts/feed/CommunityToolkit-Labs/NuGet/CommunityToolkit.Labs.Uwp.Shimmer
WinUI 3
https://dev.azure.com/dotnet/CommunityToolkit/_artifacts/feed/CommunityToolkit-Labs/NuGet/CommunityToolkit.Labs.WinUI.Shimmer
Read more about Preview Packages here.
Code
<labs:Shimmer Width="96" Height="96" />Docs & samples
https://github.com/CommunityToolkit/Labs-Windows/blob/main/components/Shimmer/samples
Additional info
TO DO
- Add sample of using an ItemSelector to swap out a loading template with the loaded content.
FUTURE
- It'd be really cool to investigate if we could make this easier to use, though I think that'll have to be an 8.1 thing, and this is basically just the raw component that knows how to fill a space and shimmer, eh?
- Can we skip the XAML resource file and do something with a
ContentPresenteror make it attachable to an UI element (likeAttachedShadow?
Implementation Requirements
- Working Prototype
- Feature Complete
- Documentation
- Samples
- Unit Tests
- Community Feedback / Usage Testimonies
Tested Platforms
- UWP
- WinAppSDK / WinUI 3
- Web Assembly (WASM)
- Android
- iOS
- MacOS
- Linux / GTK
Technical Review
- Accessibility Audit
- API/Naming Review
- Code Quality/Style
- Dependency Review
- Design/Style Review
- Final Approval
Community Help?
Yes
Reacted by Davit Makharadze
Reacted by Alex Stefano Falcon Flores, Tera, Betta_Fish, SongOfYouth and Kateryna Novak
Metadata
Metadata
Assignees
Labels
experiment 🧪Used to track issues that are experiments (or their linked discussions)
Type
Projects
- StatusShow more project fieldsDone
- StatusShow more project fields✅ Done

Activity
dpaulino commentedon May 17, 2023
I'm using this and it works great. Question tho: how to make a perfectly round shimmer?
JohnnyWestlake commentedon May 31, 2024
Suggestion: turn this into a Brush instead, allowing all instances to share the same internal composition animation and brush to optimise performance and resource usage (rather than every single usage creating it's own brushes and animations).
Logic and internal implementation would largely stay the same.