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

syncfusion-react-breadcrumbsyncfusion React breadcrumb 前端

Agent Skill

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

总安装

635

周安装

27

GitHub Stars

1

下载量

222
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

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

简介

用于辅助前端页面、组件、样式和交互逻辑的开发与维护。

  • 适合生成或审查 React、Next.js、Vue、Tailwind、CSS 等相关代码,整理组件结构。
  • 使用时需结合项目现有设计系统、路由和构建方式,避免生成孤立片段。
  • 涉及页面改动时应配合本地预览和构建检查确认视觉效果。
  • syncfusion-react-breadcrumb 属于前端设计类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Syncfusion React Breadcrumb Component Skill

Table of Contents

  1. When to Use This Skill
  2. Component Overview
  3. Documentation and Navigation Guide
  4. Quick Start Example
  5. Common Patterns
  6. Key Props Reference
  7. Common Use Cases

When to Use This Skill

Use this skill when you need to:

  • Create breadcrumb navigation showing the current location in a hierarchical structure
  • Enable navigation between different pages or sections in your application
  • Handle breadcrumb item overflow with different strategies (Menu, Scroll, Collapsed, etc.)
  • Customize breadcrumb appearance with icons, templates, or separators
  • Implement accessible breadcrumb navigation with keyboard support
  • Bind breadcrumb items dynamically from URLs or data
  • Integrate breadcrumbs with routing libraries for single-page applications
  • Disable entire breadcrumb or individual items conditionally
  • Handle breadcrumb events and perform custom logic
  • Apply RTL support for internationalization

Component Overview

The Syncfusion React Breadcrumb component provides a flexible way to display navigation paths and breadcrumb trails in your application. Key capabilities include:

  • Navigation Support: Enable or disable navigation with fine-grained control (component-level and item-level)
  • Component Control: Enable/disable entire component, set active item, apply custom CSS classes
  • Item-Level Control: Disable individual items, apply icons, set IDs for identification
  • Flexible Data Binding: Bind items declaratively or generate from URLs dynamically
  • Overflow Modes: Handle content overflow with 6 modes (Menu, Collapsed, Scroll, Wrap, Hidden, None)
  • Customization: Use item templates and separator templates for rich, custom layouts
  • Event Handling: 4 events (beforeItemRender, itemClick, created) with comprehensive arguments
  • Internationalization: Full RTL support for right-to-left languages
  • Accessibility: Full WCAG 2.2 compliance with keyboard navigation and screen reader support
  • Icon Integration: Support for font icons, images, and SVG graphics
  • State Management: Set active items programmatically, manage item enabled/disabled states

Documentation and Navigation Guide

API Properties and Events Reference

📄 Read: references/api-properties-and-events.md

Complete API reference with code examples:

  • All BreadcrumbComponent properties (activeItem, cssClass, disabled, enableNavigation, etc.)
  • All BreadcrumbItem properties (disabled, iconCss, id, text, url)
  • All component events (beforeItemRender, itemClick, created)
  • Event arguments and usage examples
  • All 6 overflow modes with examples
  • Property and event summary tables

Getting Started

📄 Read: references/getting-started.md

Start here if you're new to Syncfusion Breadcrumb:

  • Installation and dependencies setup
  • Vite vs Create React App environment setup
  • Adding CSS stylesheets and themes
  • Creating your first basic breadcrumb component
  • Adding items to breadcrumb
  • TypeScript configuration and types

Navigation and Routing

📄 Read: references/navigation-and-routing.md

Use when you need to enable navigation:

  • Enable or disable item navigation (enableNavigation property)
  • Implement relative and absolute URLs
  • Enable active item (last breadcrumb) navigation (enableActiveItemNavigation)
  • Open URLs in new tabs using beforeItemRender
  • Handle itemClick events
  • Advanced routing integration with React Router

Customization and Templates

📄 Read: references/customization.md

Use when customizing the breadcrumb appearance:

  • Overflow modes (Menu, Collapsed, Scroll, Wrap, Hidden, None)
  • Item templates for rich content (itemTemplate property)
  • Separator templates with custom icons (separatorTemplate)
  • Managing maximum items display (maxItems property)
  • Item-level disabling (disabled property)
  • Styling and CSS classes (cssClass property)

Icon Integration and Data Binding

📄 Read: references/icon-integration-data-binding.md

Use when working with icons or dynamic data:

  • Font icon implementation (Syncfusion icons with iconCss)
  • Adding images and SVG graphics as icons
  • Icon positioning (left, right, icon-only)
  • Data binding from tag directives
  • URL-based item generation (url property on component)
  • Static URL configuration
  • Customizing generated item text with beforeItemRender

Accessibility

📄 Read: references/accessibility.md

Use when implementing accessible breadcrumbs:

  • WCAG 2.2 compliance guidelines
  • ARIA attributes and roles
  • Keyboard navigation support (Tab, Shift+Tab, Enter)
  • Screen reader optimization
  • Right-to-left (RTL) support (enableRtl property)
  • Testing with accessibility tools

Quick Start Example

Here's a minimal working example to get started:

import { BreadcrumbComponent, BreadcrumbItemDirective, BreadcrumbItemsDirective } from '@syncfusion/ej2-react-navigations';
import '@syncfusion/ej2-base/styles/tailwind3.css';
import '@syncfusion/ej2-navigations/styles/tailwind3.css';

export default function App() {
  return (
    <BreadcrumbComponent enableNavigation={false}>
      <BreadcrumbItemsDirective>
        <BreadcrumbItemDirective iconCss="e-icons e-home" url="/" />
        <BreadcrumbItemDirective text="Components" url="/components" />
        <BreadcrumbItemDirective text="Breadcrumb" url="/breadcrumb" />
      </BreadcrumbItemsDirective>
    </BreadcrumbComponent>
  );
}

Common Patterns

Pattern 1: Navigation Enabled Breadcrumb

Enable user navigation by setting enableNavigation={true} and providing URLs:

<BreadcrumbComponent enableNavigation={true}>
  <BreadcrumbItemsDirective>
    <BreadcrumbItemDirective text="Home" url="../" />
    <BreadcrumbItemDirective text="Products" url="../products" />
    <BreadcrumbItemDirective text="Category" url="../products/category" />
  </BreadcrumbItemsDirective>
</BreadcrumbComponent>

Pattern 2: Breadcrumb with Icons

Add visual context with icon-based breadcrumbs:

<BreadcrumbComponent enableNavigation={false}>
  <BreadcrumbItemsDirective>
    <BreadcrumbItemDirective iconCss="e-icons e-home" />
    <BreadcrumbItemDirective iconCss="e-bicons e-folder" text="Folder" />
    <BreadcrumbItemDirective iconCss="e-bicons e-file" text="Document" />
  </BreadcrumbItemsDirective>
</BreadcrumbComponent>

Pattern 3: Handling Overflow

Use overflow modes for responsive breadcrumb trails:

<BreadcrumbComponent maxItems={3} overflowMode="Menu" enableNavigation={false}>
  <BreadcrumbItemsDirective>
    <BreadcrumbItemDirective text="Home" />
    <BreadcrumbItemDirective text="Folder 1" />
    <BreadcrumbItemDirective text="Folder 2" />
    <BreadcrumbItemDirective text="Folder 3" />
    <BreadcrumbItemDirective text="File" />
  </BreadcrumbItemsDirective>
</BreadcrumbComponent>

Pattern 4: Component-Level Control

Disable entire component or set active item programmatically:

import { useState } from 'react';

export default function App() {
  const [isDisabled, setIsDisabled] = useState(false);
  const [activeUrl, setActiveUrl] = useState('/products');

  return (
    <div>
      <BreadcrumbComponent
        disabled={isDisabled}
        activeItem={activeUrl}
        enableNavigation={true}
      >
        <BreadcrumbItemsDirective>
          <BreadcrumbItemDirective text="Home" url="/" />
          <BreadcrumbItemDirective text="Products" url="/products" />
          <BreadcrumbItemDirective text="Electronics" url="/products/electronics" />
        </BreadcrumbItemsDirective>
      </BreadcrumbComponent>
    </div>
  );
}

Pattern 5: Item-Level Disabling

Disable specific items based on conditions:

<BreadcrumbComponent enableNavigation={true}>
  <BreadcrumbItemsDirective>
    <BreadcrumbItemDirective text="Home" url="/" disabled={false} />
    <BreadcrumbItemDirective text="Products" url="/products" disabled={false} />
    <BreadcrumbItemDirective text="Admin Only" url="/admin" disabled={!isAdmin} />
  </BreadcrumbItemsDirective>
</BreadcrumbComponent>

Key Props Reference

Component-Level Properties

PropertyTypeDefaultPurpose
enableNavigationbooleantrueEnable/disable item navigation
enableActiveItemNavigationbooleanfalseMake last item clickable
disabledbooleanfalseDisable entire component
activeItemstringN/AURL of active breadcrumb item
cssClassstringN/ACSS classes for container
enableRtlbooleanfalseRight-to-left rendering
maxItemsnumberN/AMaximum visible items before overflow
overflowModestring'Menu'Overflow behavior: Menu, Collapsed, Scroll, Wrap, Hidden, None
itemsBreadcrumbItemModel[]N/ABreadcrumb items array
itemTemplateFunction\stringN/ACustom template for items
separatorTemplateFunction\stringN/ACustom template for separators
urlstringN/AGenerate items from URL path

Item-Level Properties

PropertyTypeDefaultPurpose
textstring''Display text
urlstring''Navigation URL
iconCssstringnullIcon CSS classes
disabledbooleanfalseDisable individual item
idstring''Unique item identifier

Events

EventFires WhenArguments
beforeItemRenderBefore rendering each itemcancel, element, item, name
itemClickWhen item clickedcancel, element, event, item, name
createdComponent rendering completesEvent

Common Use Cases

  1. File System Navigation: Display current folder path with folder/file icons
  2. E-commerce Product Path: Show category → subcategory → product hierarchy
  3. Documentation Navigation: Navigate through documentation sections and pages
  4. Multi-step Forms: Display form steps and progress
  5. Website Navigation: Show current page location within site hierarchy

Next Steps:

  • Read the appropriate reference file based on your needs
  • Copy code examples and adapt to your use case
  • Refer to API documentation for advanced properties
  • Test with different themes (Tailwind, Bootstrap, Fluent, Material)

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

33.25%
按下载量换算74

Claude

28.02%
按下载量换算62

Cursor

19.29%
按下载量换算43

Gemini CLI

9.75%
按下载量换算22

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

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

安装前确认

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

来源信息

继续浏览同类 Skills