Token导航 LogoToken导航TokenDH.com
前端设计需要联网github未标认证来源可访问许可证需确认审计通过

syncfusion-react-steppersyncfusion React stepper 前端

Agent Skill

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

总安装

642

周安装

27

GitHub Stars

1

下载量

225
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

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

简介

用于辅助 React 步骤器组件的开发与维护。

  • 适合在 Codex、Claude、Cursor、Gemini CLI 中生成或审查前端组件代码。
  • 通过 GitHub 安装,需结合项目现有设计系统使用。
  • 涉及页面改动时应配合本地预览确认视觉效果。
  • syncfusion-react-stepper 属于前端设计类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Implementing Syncfusion React Stepper

The Stepper component guides users through a multi-step workflow or process with visual indicators, step labels, and flexible configuration. It's ideal for wizards, checkout flows, onboarding processes, and any guided user experience requiring sequential navigation.

When to Use This Skill

Use the Stepper component when you need to:

  • Guide users through multi-step processes (checkout, registration, setup wizards)
  • Display step-by-step workflows with progress indication
  • Validate user input before advancing to the next step
  • Support linear or non-linear navigation patterns
  • Customize appearance with icons, labels, and templates
  • Localize content for different languages/regions

Component Overview

Key Capabilities:

  • Step Navigation: Horizontal and vertical orientations, sequential or free navigation
  • Step Types: Default (icons + labels), label-only, or indicator-only modes
  • Events: Track step changes, validations, and interactions
  • Styling: Animations, templates, custom CSS, and tooltips
  • Accessibility: Full keyboard navigation and ARIA support
  • Globalization: Multi-language support and RTL compatibility

Documentation and Navigation Guide

Getting Started & Installation

📄 Read: references/getting-started.md

  • Package installation and dependencies
  • CSS imports and theme setup
  • Creating your first stepper
  • Initial configuration and rendering

Core Configuration: Steps and Properties

📄 Read: references/steps-and-configuration.md

  • Adding and defining steps with StepDirective
  • Icon CSS, text, and label properties
  • Active step management
  • Disabled states and customization
  • CSS class configuration

Layout & Appearance: Orientations and Types

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

  • Horizontal and vertical orientations
  • Step type modes (Default, Label, Indicator)
  • Label positioning (Top, Bottom, Start, End)
  • RTL support and responsive design

Interaction & Behavior: Events

📄 Read: references/events-and-interactions.md

  • Lifecycle events: created, stepChanged, stepChanging
  • User interaction events: stepClick, beforeStepRender
  • Event arguments and handling patterns
  • Preventing unwanted transitions

Workflow Control: Linear Flow and Validation

📄 Read: references/linear-flow-and-validation.md

  • Linear stepper configuration for sequential navigation
  • Step validation and status management
  • Preventing invalid transitions
  • Resetting stepper state

Advanced Styling & Customization

📄 Read: references/animation-template-tooltip.md

  • Animation configuration and timing
  • Template customization for steps
  • Tooltip integration and display
  • Custom content rendering

Methods and Advanced Patterns

📄 Read: references/methods-and-advanced.md

  • Component methods (reset, etc.)
  • Both API patterns (component-based vs property-based)
  • Advanced use cases and patterns
  • Performance optimization tips

Best Practices: Accessibility & Localization

📄 Read: references/accessibility-globalization.md

  • WCAG compliance and ARIA attributes
  • Keyboard navigation guidelines
  • Globalization and localization
  • RTL support implementation

Quick Start Examples

Pattern 1: Component-Based (StepsDirective)

import React from 'react';
import { StepperComponent, StepsDirective, StepDirective } from '@syncfusion/ej2-react-navigations';
import '@syncfusion/ej2-base/styles/tailwind3.css';
import '@syncfusion/ej2-navigations/styles/tailwind3.css';

function App() {
  return (
    <div>
      <StepperComponent>
        <StepsDirective>
          <StepDirective iconCss="sf-icon-cart" label="Cart" />
          <StepDirective iconCss="sf-icon-transport" label="Delivery" />
          <StepDirective iconCss="sf-icon-payment" label="Payment" />
          <StepDirective iconCss="sf-icon-success" label="Confirmation" />
        </StepsDirective>
      </StepperComponent>
    </div>
  );
}

export default App;

Pattern 2: Property-Based (steps Array)

import React from 'react';
import { StepperComponent } from '@syncfusion/ej2-react-navigations';
import '@syncfusion/ej2-base/styles/tailwind3.css';
import '@syncfusion/ej2-navigations/styles/tailwind3.css';

function App() {
  const steps = [
    { iconCss: 'sf-icon-cart', label: 'Cart' },
    { iconCss: 'sf-icon-transport', label: 'Delivery' },
    { iconCss: 'sf-icon-payment', label: 'Payment' },
    { iconCss: 'sf-icon-success', label: 'Confirmation' }
  ];

  return (
    <div>
      <StepperComponent steps={steps} />
    </div>
  );
}

export default App;

Common Patterns

Pattern 1: Wizard with Validation

const [activeStep, setActiveStep] = React.useState(0);
const stepperRef = React.useRef(null);

const handleStepChanging = (args) => {
  // Validate current step before advancing
  if (!validateStep(activeStep)) {
    args.cancel = true; // Prevent transition
  }
};

<StepperComponent
  ref={stepperRef}
  stepChanging={handleStepChanging}
>
  {/* steps */}
</StepperComponent>

Pattern 2: Linear vs Non-Linear Navigation

// Linear: Users must complete steps sequentially
<StepperComponent linear={true}>

// Non-linear: Users can skip to any step
<StepperComponent linear={false}>

Pattern 3: Responsive Orientation

// Auto-switch orientation based on screen size
const [orientation, setOrientation] = React.useState('horizontal');

React.useEffect(() => {
  const handleResize = () => {
    setOrientation(window.innerWidth < 768 ? 'vertical' : 'horizontal');
  };
  window.addEventListener('resize', handleResize);
  return () => window.removeEventListener('resize', handleResize);
}, []);

<StepperComponent orientation={orientation}>

Key Props and Configuration

Component Properties

PropTypeDefaultPurpose
activeStepnumber0Currently active step index
animationStepperAnimationSettingsModelundefinedAnimation configuration (enable, duration, delay)
cssClassstring''CSS class for custom styling
enablePersistencebooleanfalsePersist component state between page reloads
enableRtlbooleanfalseEnable right-to-left layout
labelPositionstring'Bottom'Label placement: 'Top', 'Bottom', 'Start', 'End'
linearbooleanfalseEnforce sequential step navigation
localestring'en-US'Localization culture code
orientationstring'horizontal'Layout direction: 'horizontal' or 'vertical'
readOnlybooleanfalseDisable user interaction
showTooltipbooleantrueShow tooltips on hover
stepTypestring'Default'Visual mode: 'Default', 'Label', 'Indicator'
stepsStepModel[][]Array of step objects (property-based pattern)
templatestring \functionundefinedCustom template for steps
tooltipTemplatestring \functionundefinedCustom template for tooltips

Step Properties (StepModel)

PropertyTypePurpose
cssClassstringCSS class for individual step styling
disabledbooleanDisable the step
iconCssstringIcon CSS class for the step
isValidbooleanValidation status of the step
labelstringStep label text
optionalbooleanMark step as optional
statusstringStep status: 'NotStarted', 'InProgress', 'Completed'
textstringText content (usually number)

Animation Settings

PropertyTypeDefaultPurpose
enablebooleantrueEnable animations
durationnumber400Animation duration in milliseconds
delaynumber0Delay before animation starts

Events

EventFiresUse ForArguments
createdAfter component initializationSetup, initializationEvent
stepChangedAfter step changesUpdate UI, load contentStepperChangedEventArgs
stepChangingBefore step changesValidate, prevent transitionsStepperChangingEventArgs
stepClickUser clicks stepTrack interactionsStepperClickEventArgs
beforeStepRenderBefore rendering each stepCustomize step appearanceStepperRenderingEventArgs

Methods

MethodParametersReturnsPurpose
reset()nonevoidReset stepper to initial state (activeStep: 0)
nextStep()nonevoidMove to next step programmatically
previousStep()nonevoidMove to previous step programmatically
refreshProgressbar()nonevoidRefresh progress bar on container resize
destroy()nonevoidDestroy component and release resources

Event Arguments Reference:

  • StepperChangedEventArgs: activeStep, previousStep, isInteracted, name, event, element
  • StepperChangingEventArgs: activeStep, previousStep, cancel, isInteracted, name, event, element
  • StepperClickEventArgs: activeStep, name, event, element
  • StepperRenderingEventArgs: activeStep, name, element

Common Use Cases

  • E-Commerce Checkout: Multi-step checkout flow with order review, shipping, payment
  • User Registration: Multi-step signup with email, profile, verification
  • Setup Wizards: Software onboarding with configuration steps
  • Survey Forms: Step-by-step questionnaire with progress indication
  • Installation Guides: Installation steps with instructions and validation

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

33.71%
按下载量换算76

Claude

30.42%
按下载量换算68

Cursor

18.19%
按下载量换算41

Gemini CLI

8.53%
按下载量换算19

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

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

安装前确认

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

来源信息

继续浏览同类 Skills