Token导航 LogoToken导航

Agent Skill · 前端设计

syncfusion-react-progress-bar(syncfusion React progress BAR 前端)

用于辅助前端页面、组件、样式和交互逻辑的开发与维护。它适合让 Agent 生成或审查 React、Next.js、Vue、Tailwind、CSS 等相关代码,整理组件结构,或定位布局和性能问题。使用时需要结合项目现有设计系统、路由和构建方式,避免只生成孤立片段;涉及页面改动时,应配合本地预览和构建检查确认视觉效果。

syncfusion-react-progress-bar 是前端设计类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为需要联网;许可证信息还不明确,第三方扫描已通过,按安装量在前端设计类的 10,216 个 Skill 里排第 5,565。

总安装 648周安装 27GitHub Stars 1下载 216核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/syncfusion/react-ui-components-skills --skill syncfusion-react-progress-bar

这个 Skill 是做什么的

前端设计类 Skill 关注页面结构、视觉规范和组件写法,输出通常是可运行的界面代码。

用于辅助 React 前端页面、组件、样式和交互逻辑的开发与维护。适合生成或审查 React、Next.js、Vue、Tailwind、CSS 等相关代码,整理组件结构,或定位布局和性能问题。使用时需要结合项目现有设计系统、路由和构建方式,避免只生成孤立片段;涉及页面改动时,应配合本地预览和构建检查确认视觉效果。

通过 GitHub 安装,支持 Codex、Claude、Cursor、Gemini CLI 等宿主环境。需确保项目已集成 Syncfusion React 组件库,否则可能无法正常运行相关功能。

来源仓库内路径:skills/syncfusion-react-progress-bar

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/syncfusion/react-ui-components-skills --skill…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要需要联网,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

syncfusion-react-progress-bar 怎么安装?

在终端执行 npx skills add https://github.com/syncfusion/react-ui-components-skills --skill syncfusion…。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

syncfusion-react-progress-bar 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

syncfusion-react-progress-bar 需要什么权限?

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

syncfusion-react-progress-bar 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

syncfusion-react-progress-bar 用的人多吗?

公开数据是累计安装 648 次,近一周安装 27 次,下载 216 次,GitHub 1 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

syncfusion-react-progress-bar 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理前端设计类任务、又不想每次都手写提示词的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

前端设计类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
frontend-design

前端设计 · Codex、Claude

8,823,360126,072只读MIT通过
vercel-composition-patterns

Vercel 组合模式 · Codex、Claude

3,858,81625,893需要联网MIT通过
vercel-react-native-skills

Vercel React native skills 前端 · Codex、Claude

2,468,66425,878只读MIT通过
adapt

adapt 搜索 · Codex、Claude

2,027,04023,125操作浏览器未明确通过
bolder

bolder 分析 · Codex、Claude

2,004,28823,130只读未明确通过
syncfusion-react-progress-bar

syncfusion React progress BAR 前端 · 本页

6481需要联网未明确通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Implementing React Progress Bar Component

A comprehensive skill for implementing the Syncfusion React Progress Bar component for visual progress feedback, loading states, and task completion indicators.

When to Use This Skill

Use this skill when you need to:

  • Display progress of file uploads or downloads
  • Show task completion percentage
  • Indicate loading states (determinate or indeterminate)
  • Visualize data processing or long-running operations
  • Create progress spinners or circular indicators
  • Handle secondary progress (buffer scenarios)
  • Customize progress bar appearance and colors
  • Implement animations and transitions
  • Handle progress events and callbacks
  • Ensure accessibility compliance for progress indicators

Component Overview

The Syncfusion React Progress Bar is a lightweight component that visualizes task progress in linear, circular, or semi-circular shapes. It supports multiple states (determinate, indeterminate, buffer) and features animations, customization, and full accessibility support.

Key Features:

  • Multiple Types: Linear, Circular, Semi-Circular shapes
  • States: Determinate (known progress), Indeterminate (unknown), Buffer (secondary progress)
  • Animations: Smooth transitions with configurable duration and delay
  • Customization: Colors, heights, labels, themes
  • Events: Progress tracking, start/complete callbacks
  • Accessibility: WCAG 2.1 compliant with ARIA support
  • RTL Support: Right-to-left language support

Documentation Guide

Getting Started

📄 Read: references/getting-started.md

  • Installation and package setup
  • Basic progress bar implementation
  • CSS imports and themes
  • First component example
  • TypeScript vs JavaScript

Types and Shapes

📄 Read: references/types-and-shapes.md

  • Linear progress bar
  • Circular progress bar
  • Semi-circular progress bar
  • Shape variations and code examples
  • Choosing the right type for your use case

States and Modes

📄 Read: references/states-and-modes.md

  • Determinate state (known progress, default)
  • Indeterminate state (unknown progress, spinners)
  • Buffer/Secondary progress (dual progress indicators)
  • Combining multiple states
  • Real-world scenarios for each state

Customization and Styling

📄 Read: references/customization-and-styling.md

  • Sizing (height, width configurations)
  • Colors and fill customization
  • Labels and text display
  • Theme application
  • CSS customization
  • Responsive design patterns

Animations, Events, and Accessibility

📄 Read: references/animations-events-accessibility.md

  • Animation configuration and control
  • Event handlers for progress tracking
  • Using callbacks for task completion
  • WCAG compliance
  • ARIA attributes and labels
  • Tooltip and annotation support
  • Troubleshooting common issues

API Reference

📄 Read: references/api.md

  • Full list of public properties, methods and events for ProgressBarComponent (see file).

Quick Start Example

import { ProgressBarComponent } from '@syncfusion/ej2-react-progressbar';

function App() {
  return (
    <div>
      {/* Linear Determinate Progress Bar */}
      <ProgressBarComponent
        id="linear"
        type="Linear"
        height="60"
        value={75}
        animation={{
          enable: true,
          duration: 2000,
          delay: 0
        }}
      />

      {/* Circular Progress Bar */}
      <ProgressBarComponent
        id="circular"
        type="Circular"
        height="160px"
        value={60}
      />

      {/* Indeterminate Loading Spinner */}
      <ProgressBarComponent
        id="indeterminate"
        type="Linear"
        height="60"
        isIndeterminate={true}
        animation={{
          enable: true,
          duration: 2000,
          delay: 0
        }}
      />
    </div>
  );
}

export default App;

Common Patterns

1. File Upload Progress

<ProgressBarComponent
  id="upload"
  type="Linear"
  value={uploadPercentage}
  showProgressValue={true}
  progressValueFormat="N0 '%'"
/>

2. Loading Spinner

<ProgressBarComponent
  id="spinner"
  type="Circular"
  isIndeterminate={true}
  height="100px"
/>

3. Buffer Progress (Buffered Loading)

<ProgressBarComponent
  id="buffer"
  type="Linear"
  value={40}
  secondaryProgress={80}
  height="60"
/>

4. Determinate Task Progress

<ProgressBarComponent
  id="task"
  type="Linear"
  value={taskCompletionPercentage}
  showProgressValue={true}
  animation={{
    enable: true,
    duration: 1500
  }}
/>

Key Props Reference

Core Properties

PropTypeDefaultPurpose
idstring-Unique identifier for component
type"Linear" \"Circular" \"Semicircle""Linear"Shape of progress bar
valuenumber0Current progress value (0-100)
secondaryProgressnumber0Secondary/buffer progress value
isIndeterminatebooleanfalseIndeterminate/loading mode
heightstring"100%"Height of progress bar (CSS value)
widthstring"100%"Width of progress bar (CSS value)
showProgressValuebooleanfalseDisplay percentage text

Animation & Styling

PropTypeDefaultPurpose
animationAnimationModel-Animation config: {enable, duration, delay}
progressColorstring-Color for progress fill (CSS color)
trackColorstring-Color for track background
progressThicknessnumber4Progress bar thickness (pixels)
trackThicknessnumber4Track thickness (pixels)
isStripedbooleanfalseStriped pattern appearance
isGradientbooleanfalseGradient fill effect
cssClassstring-Custom CSS class for styling

Advanced Features

PropTypeDefaultPurpose
cornerRadius"Round" \"Auto""Auto"Corner style for ends
enableRtlbooleanfalseRight-to-left layout
enablePieProgressbooleanfalsePie view for circular type
enableProgressSegmentsbooleanfalseSegmented progress rendering
segmentCountnumber1Number of segments
rangeColorsRangeColorModel[]-Colors for different ranges
minimumnumber0Minimum progress value
maximumnumber100Maximum progress value

Label & Format

PropTypeDefaultPurpose
progressValueFormatstring"N0 '%'"Format for value display (e.g., "N2 '%'")
labelOnTrackbooleantrueShow label on the track
labelStyleFontModel-Font styling for label

When to use each:

  • type: Choose based on space: Linear (full-width), Circular/Semicircle (compact)
  • value: Update via state to reflect real progress
  • isIndeterminate: Use for unknown duration tasks (loading, processing)
  • secondaryProgress: Show buffer/estimated vs. actual progress
  • animation: Enhance UX with smooth transitions (disable for real-time high-frequency updates)
  • cornerRadius: "Round" for modern look, "Auto" for default
  • segmentCount: Split progress into visual segments (e.g., 10 segments = 10% per segment)

Common Use Cases with Code Examples

Use Case 1: File Upload/Download

const [uploadProgress, setUploadProgress] = useState(0);

<ProgressBarComponent
  type="Linear"
  value={uploadProgress}
  showProgressValue={true}
  progressValueFormat="N0 '%'"
  height="30"
  animation={{ enable: true, duration: 500 }}
/>

Best Practices:

  • Use Linear type for wide displays
  • Update value from upload progress events
  • Show estimated time in addition to percentage
  • Optional secondaryProgress for pre-fetched bytes

Use Case 2: Loading State (Unknown Duration)

<ProgressBarComponent
  type="Circular"
  isIndeterminate={true}
  height="100px"
  animation={{ enable: true, duration: 2000 }}
/>

Best Practices:

  • Use Circular for compact display
  • Keep isIndeterminate={true} until operation completes
  • Spinner continues animating indefinitely
  • Replace with determinate once progress can be tracked

Use Case 3: Data Processing

const [processProgress, setProcessProgress] = useState(0);
const totalItems = 100;

useEffect(() => {
  processItems().then(processed => {
    setProcessProgress((processed / totalItems) * 100);
  });
}, []);

<ProgressBarComponent
  type="Linear"
  value={processProgress}
  showProgressValue={true}
  height="30"
/>

Best Practices:

  • Update value as items are processed
  • Show item count: "25 of 100 items"
  • Show elapsed time and estimated remaining
  • Display success/error message on completion

Use Case 4: Multiple Tasks (Buffering/Streaming)

const [processedItems, setProcessedItems] = useState(30);
const [queuedItems, setQueuedItems] = useState(75);
const totalItems = 100;

<ProgressBarComponent
  type="Linear"
  value={(processedItems / totalItems) * 100}
  secondaryProgress={(queuedItems / totalItems) * 100}
  height="30"
/>

Best Practices:

  • Primary progress (value) = actual processed
  • Secondary progress = queued/buffered items
  • Great for streaming/video buffering scenarios
  • Also works for task queue management

Use Case 5: Multi-Step Workflow

const steps = ['Validation', 'Processing', 'Upload', 'Confirmation'];
const [currentStep, setCurrentStep] = useState(0);
const progress = ((currentStep + 1) / steps.length) * 100;

<ProgressBarComponent
  type="Linear"
  value={progress}
  showProgressValue={true}
  height="30"
/>

<div>
  {steps.map((step, i) => (
    <div key={i}>
      {step} {i === currentStep ? '🔄' : i < currentStep ? '✓' : '⏳'}
    </div>
  ))}
</div>

Best Practices:

  • Calculate progress as (currentStep / totalSteps) * 100
  • Show step indicators alongside progress bar
  • Highlight current step
  • Disable user interactions during processing

Advanced Usage Patterns

1. Value Binding with State Management

import { useState, useEffect } from 'react';
import { ProgressBarComponent } from '@syncfusion/ej2-react-progressbar';

function ProgressManager() {
  const [progress, setProgress] = useState(0);
  const [isProcessing, setIsProcessing] = useState(false);

  useEffect(() => {
    if (!isProcessing) return;

    const interval = setInterval(() => {
      setProgress(prev => {
        if (prev >= 100) {
          setIsProcessing(false);
          return 100;
        }
        return prev + Math.random() * 15;
      });
    }, 500);

    return () => clearInterval(interval);
  }, [isProcessing]);

  return (
    <div>
      <ProgressBarComponent
        type="Linear"
        value={progress}
        showProgressValue={true}
      />
      <button
        onClick={() => { setProgress(0); setIsProcessing(true); }}
        disabled={isProcessing}
      >
        {isProcessing ? 'Processing...' : 'Start'}
      </button>
    </div>
  );
}

export default ProgressManager;

2. Animation Configuration Patterns

// Real-time updates (no animation for smoothness)
animation={{ enable: false }}

// User interactions (quick feedback)
animation={{ enable: true, duration: 300, delay: 0 }}

// Page loads (smooth transition)
animation={{ enable: true, duration: 1500, delay: 0 }}

// Cascading effects (staggered)
animation={{ enable: true, duration: 1000, delay: 200 }}

// Loading spinners (continuous)
animation={{ enable: true, duration: 2000 }}

3. Conditional Rendering Based on State

function ConditionalProgress() {
  const [state, setState] = useState('idle'); // idle | loading | success | error
  const [value, setValue] = useState(0);

  const getProgressType = () => {
    if (state === 'loading') return 'Circular';
    return 'Linear';
  };

  return (
    <>
      {state === 'loading' && (
        <ProgressBarComponent
          type={getProgressType()}
          isIndeterminate={state === 'loading'}
          height="100px"
        />
      )}

      {state === 'success' && (
        <div style={{ color: 'green' }}>✓ Complete</div>
      )}

      {state === 'error' && (
        <div style={{ color: 'red' }}>✗ Error occurred</div>
      )}
    </>
  );
}

export default ConditionalProgress;

4. Event Handling for Tracking

function ProgressWithEvents() {
  const handleStart = () => {
    console.log('Progress started');
    analytics.track('progress_started');
  };

  const handleComplete = () => {
    console.log('Progress completed');
    analytics.track('progress_completed');
    showNotification('Task completed!');
  };

  const handleValueChange = (args) => {
    console.log(`Progress: ${args.value}%`);
    // Milestone tracking
    if (args.value === 50) {
      analytics.track('progress_midpoint');
    }
  };

  return (
    <ProgressBarComponent
      type="Linear"
      value={75}
      progressStart={handleStart}
      progressComplete={handleComplete}
      valueChanged={handleValueChange}
    />
  );
}

export default ProgressWithEvents;

5. Responsive Design

function ResponsiveProgress() {
  const [isMobile, setIsMobile] = useState(window.innerWidth < 768);

  useEffect(() => {
    const handleResize = () => setIsMobile(window.innerWidth < 768);
    window.addEventListener('resize', handleResize);
    return () => window.removeEventListener('resize', handleResize);
  }, []);

  return (
    <ProgressBarComponent
      type={isMobile ? 'Semicircle' : 'Linear'}
      value={65}
      height={isMobile ? '100px' : '40'}
      showProgressValue={true}
    />
  );
}

export default ResponsiveProgress;

6. Error Handling & Retry Logic

async function uploadWithRetry(file, maxRetries = 3) {
  const [attempts, setAttempts] = useState(0);
  const [progress, setProgress] = useState(0);
  const [error, setError] = useState(null);

  for (let i = 0; i < maxRetries; i++) {
    try {
      setAttempts(i + 1);
      const result = await uploadFile(file, (p) => setProgress(p));
      return result;
    } catch (err) {
      if (i === maxRetries - 1) {
        setError(`Failed after ${maxRetries} attempts`);
        throw err;
      }
      // Retry with exponential backoff
      await new Promise(r => setTimeout(r, Math.pow(2, i) * 1000));
    }
  }
}

Integration with Common Patterns

With React Query

import { useQuery } from '@tanstack/react-query';

function DataProcessing() {
  const { data, isLoading, progress } = useQuery({
    queryKey: ['processData'],
    queryFn: async ({ signal }) => {
      // Process with progress tracking
    }
  });

  return (
    <ProgressBarComponent
      isIndeterminate={isLoading}
      value={progress || 0}
    />
  );
}

With Redux

import { useSelector, useDispatch } from 'react-redux';

function ReduxProgress() {
  const { progress, isLoading } = useSelector(state => state.upload);
  const dispatch = useDispatch();

  return (
    <ProgressBarComponent
      value={progress}
      isIndeterminate={isLoading}
      progressComplete={() => dispatch(resetProgress())}
    />
  );
}

平台分布

Codex

36.62%
按下载量换算79

Claude

29.23%
按下载量换算63

Cursor

16.21%
按下载量换算35

Gemini CLI

9.63%
按下载量换算21

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

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

安装前确认

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

继续浏览同类 Skills