Token导航 LogoToken导航TokenDH.com
研究检索需要联网github未标认证来源可访问许可证需确认审计通过

syncfusion-winui-shimmer同步融合 winui 微光

Agent Skill

syncfusion-winui-shimmer 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

563

周安装

23

GitHub Stars

公开资料未说明

下载量

180
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:syncfusion-winui-shimmer(同步融合 winui 微光)
来源仓库:https://github.com/syncfusion/winui-ui-components-skills
仓库路径:skills/syncfusion-winui-shimmer
安装命令:
npx skills add https://github.com/syncfusion/winui-ui-components-skills --skill syncfusion-winui-shimmer
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/syncfusion/winui-ui-components-skills --skill syncfusion-winui-shimmer

简介

Syncfusion WinUI 微光加载组件,用于界面占位动画效果。

  • 适用于研究检索类任务中的异步内容加载提示。
  • 通过 GitHub 仓库安装,兼容 Codex、Claude 等宿主环境。
  • 使用前应确认是否启用硬件加速或消耗较多 CPU 资源。
  • 建议核对原始 SKILL.md 了解动画时长与颜色自定义选项。

SKILL.md

Implementing WinUI Shimmer

When to Use This Skill

Use this skill when the user needs to:

  • Display skeleton screens during content loading
  • Show shimmer effects as loading placeholders
  • Enhance perceived performance during data fetching
  • Create loading animations for lists, profiles, articles, or videos
  • Provide visual feedback during async content loading
  • Implement modern loading UX patterns (skeleton loaders)

Always apply this skill when the user mentions: shimmer effects, skeleton screens, loading placeholders, content loading animations, shimmer loaders, or skeleton UI in WinUI applications.

Component Overview

SfShimmer is a Syncfusion WinUI control that displays animated placeholder content (skeleton screens) during loading operations. It provides 7 built-in shimmer types and supports custom layouts to match any content structure.

Namespace: Syncfusion.UI.Xaml.Core NuGet Package: Syncfusion.Core.WinUI Platform: WinUI 3 Desktop (.NET 5+, Windows App SDK 1.0+)

Key Advantage: Improves perceived performance by showing content structure while data loads, reducing user frustration during wait times.

Documentation and Navigation Guide

Getting Started

📄 Read: references/getting-started.md

  • Installation and NuGet package setup
  • Namespace imports and basic initialization
  • Default shimmer type (CirclePersona)
  • License registration requirements
  • First complete example

Built-in Shimmer Types

📄 Read: references/built-in-types.md

  • 7 built-in shimmer types (CirclePersona, SquarePersona, Profile, Article, Video, Feed, Shopping)
  • Type property usage
  • Visual descriptions and comparisons
  • Choosing the right type for your content
  • Switching between types

Custom Layouts

📄 Read: references/custom-layouts.md

  • CustomLayout property for creating custom shimmer designs
  • Using Grid, StackPanel, Rectangle elements
  • Complex layout examples
  • Matching shimmer to actual content structure
  • Best practices and performance

Customization Options

📄 Read: references/customization.md

  • Fill property (background color)
  • WaveColor property (animation color)
  • WaveWidth property (wave width control)
  • WaveDuration property (animation speed)
  • RepeatCount property (repeat views)
  • Combining customizations

Quick Start Example

<Page
    xmlns:syncfusion="using:Syncfusion.UI.Xaml.Core">
    <Grid>
        <syncfusion:SfShimmer
            x:Name="shimmer"
            Type="Article"
            Fill="#F6F6F6"
            WaveColor="#E0E0E0"
            RepeatCount="3"/>
    </Grid>
</Page>
using Syncfusion.UI.Xaml.Core;
using Microsoft.UI;

// Create and configure Shimmer
SfShimmer shimmer = new SfShimmer
{
    Type = ShimmerType.Article,
    Fill = Colors.LightGray,
    WaveColor = Colors.White,
    RepeatCount = 3
};

// Add to UI
this.Content = shimmer;

Common Patterns

1. Simple Profile Loading Shimmer

<syncfusion:SfShimmer Type="Profile"/>

When to use: User profile pages, account screens, contact details loading.

2. Article/Blog Loading with Repeat

<Grid>
    <syncfusion:SfShimmer
        Type="Article"
        RepeatCount="5"
        Fill="#F5F5F5"
        WaveColor="#E0E0E0"/>
</Grid>

When to use: Blog feeds, news articles, text-heavy content loading.

3. Shopping/Product Grid Shimmer

<syncfusion:SfShimmer
    Type="Shopping"
    RepeatCount="6"
    WaveDuration="1500"/>

When to use: E-commerce product grids, shopping catalogs, item galleries.

4. Video/Media Feed Shimmer

<syncfusion:SfShimmer
    Type="Video"
    RepeatCount="4"
    Fill="#000000"
    WaveColor="#333333"/>

When to use: Video streaming apps, media galleries, YouTube-like feeds.

5. Conditional Shimmer Display

<Grid>
    <!-- Shimmer while loading -->
    <syncfusion:SfShimmer
        x:Name="shimmer"
        Type="Feed"
        Visibility="{x:Bind IsLoading, Mode=OneWay}"/>

    <!-- Actual content when loaded -->
    <ListView
        x:Name="contentListView"
        Visibility="{x:Bind IsLoaded, Mode=OneWay}"
        ItemsSource="{x:Bind Items}"/>
</Grid>
private bool isLoading = true;
public bool IsLoading
{
    get => isLoading;
    set
    {
        isLoading = value;
        OnPropertyChanged();
    }
}

public bool IsLoaded => !IsLoading;

private async void LoadContentAsync()
{
    IsLoading = true;

    try
    {
        var data = await FetchDataAsync();
        contentListView.ItemsSource = data;
    }
    finally
    {
        IsLoading = false;
    }
}

When to use: Toggle between shimmer and actual content based on loading state.

6. Custom Layout for Specific UI

<syncfusion:SfShimmer>
    <syncfusion:SfShimmer.CustomLayout>
        <Grid RowSpacing="10" ColumnSpacing="15">
            <Grid.RowDefinitions>
                <RowDefinition Height="60"/>
                <RowDefinition Height="Auto"/>
                <RowDefinition Height="Auto"/>
            </Grid.RowDefinitions>
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="60"/>
                <ColumnDefinition Width="*"/>
            </Grid.ColumnDefinitions>

            <!-- Profile image placeholder -->
            <Ellipse Grid.Row="0" Grid.RowSpan="2" Width="60" Height="60"/>

            <!-- Name placeholder -->
            <Rectangle Grid.Row="0" Grid.Column="1"
                      Height="15" RadiusX="3" RadiusY="3"
                      HorizontalAlignment="Left" Width="200"/>

            <!-- Description placeholder -->
            <Rectangle Grid.Row="1" Grid.Column="1"
                      Height="12" RadiusX="3" RadiusY="3"
                      HorizontalAlignment="Left" Width="250"/>

            <!-- Content placeholder -->
            <Rectangle Grid.Row="2" Grid.ColumnSpan="2"
                      Height="100" RadiusX="5" RadiusY="5"/>
        </Grid>
    </syncfusion:SfShimmer.CustomLayout>
</syncfusion:SfShimmer>

When to use: Custom content structure not matching built-in types.

Key Properties

PropertyTypeDefaultDescription
TypeShimmerTypeCirclePersonaThe built-in shimmer layout type. Options: CirclePersona, SquarePersona, Profile, Article, Video, Feed, Shopping.
CustomLayoutUIElementnullCustom layout for creating shimmer designs that match your specific content structure.
FillBrush#F6F6F6Background color of the shimmer view (placeholder color).
WaveColorBrushWhiteColor of the animated wave that moves across the shimmer.
WaveWidthdouble200Width of the animated wave in pixels. Larger values = wider wave.
WaveDurationint1000Duration of the wave animation in milliseconds. Higher values = slower animation.
RepeatCountint1Number of times the built-in shimmer view is repeated vertically. Useful for lists.

Common Use Cases

List/Feed Loading

  • Social media feeds
  • News article lists
  • Product catalogs
  • Comment sections
  • Search results

Best Types: Feed, Article, Shopping

Profile/User Loading

  • User profiles
  • Contact cards
  • Account details
  • Team member displays
  • About sections

Best Types: Profile, CirclePersona, SquarePersona

Media Loading

  • Video thumbnails
  • Image galleries
  • Media players
  • Streaming content
  • Photo albums

Best Types: Video, Custom layout with image placeholders

E-commerce

  • Product grids
  • Shopping carts
  • Product details
  • Category pages
  • Wishlists

Best Types: Shopping, Custom layouts

Implementation Tips

  1. Match Shimmer to Content: Design shimmer layouts that closely resemble the actual content structure for seamless transitions.
  2. Use RepeatCount for Lists: Set RepeatCount to match the expected number of items visible in the viewport.
  3. Timing:

- Show shimmer immediately when loading starts - Hide shimmer when content is ready to display - Typical shimmer duration: 500ms - 3000ms

  1. Color Theming:

- Light theme: Fill = #F6F6F6, WaveColor = White - Dark theme: Fill = #2C2C2C, WaveColor = #3C3C3C

  1. Performance: Shimmer animations are GPU-accelerated. Multiple shimmers can run simultaneously without performance issues.
  2. Accessibility: Shimmer is purely visual. Ensure screen readers announce loading state separately using live regions or status messages.
  3. Wave Speed:

- Fast loading (<2s): WaveDuration = 800-1000ms - Normal loading (2-5s): WaveDuration = 1000-1500ms - Slow loading (>5s): WaveDuration = 1500-2000ms

  1. Custom Layouts: Use Rectangle elements with rounded corners (RadiusX/RadiusY) and Ellipse for circular placeholders.

Shimmer vs Other Loading Patterns

Use Shimmer when:

  • Content structure is known beforehand
  • Loading time is 500ms - 5 seconds
  • Showing list-based or structured content
  • Modern app with emphasis on perceived performance

Use BusyIndicator when:

  • Content structure is unknown
  • Generic loading indication needed
  • Modal/blocking operations
  • Very quick (<500ms) or very long (>10s) operations

Use ProgressBar when:

  • Determinate progress can be shown
  • File uploads/downloads
  • Progress percentage is available
  • Sequential operations with measurable progress

Related Documentation

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

37.84%
按下载量换算68

Claude

32.13%
按下载量换算58

Cursor

16.78%
按下载量换算30

Gemini CLI

8.61%
按下载量换算15

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills