MCPInstall

syncfusion-javascript-breadcrumb

Learn to implement and configure the Syncfusion TypeScript Breadcrumb component for navigation. Use this skill when implementing breadcrumb navigation for web applications. Covers component initialization, item configuration, overflow handling, event management, and advanced customization.

Installs
54
Last 24h
—
Trending rank
—
Security
Not audited

Install

Works with every agent the skills CLI supports.

npx skills add https://github.com/syncfusion/javascript-ui-controls-skills --skill syncfusion-javascript-breadcrumb
  1. 01

    Install

    Run the command in your project. The CLI asks which agents to install for.

  2. 02

    Describe the task

    Ask your agent for something this skill covers. It loads syncfusion-javascript-breadcrumb automatically when relevant.

  3. 03

    Review the result

    The agent follows the SKILL.md steps, scripts and references bundled with the skill.

SKILL.md

The instructions your agent reads when the skill is triggered.

Implementing Breadcrumb

The Breadcrumb component is a graphical user interface element that helps identify and highlight the current location within a hierarchical structure of websites. It makes users aware of their current position in a hierarchy of website links, improving navigation experience and reducing cognitive load.

When to Use This Skill

Use this skill immediately when you need to:

  • Display hierarchical navigation paths
  • Show current location in a multi-level structure
  • Implement breadcrumb trails in single-page applications
  • Handle overflow items with different display modes
  • Customize breadcrumb appearance and behavior
  • Respond to user interactions with breadcrumb items
  • Apply dynamic styling and templates to breadcrumb items

Control Overview

The Breadcrumb component provides:

  • Hierarchical navigation display - Shows navigation path from root to current location
  • Multiple overflow modes - Menu, Collapsed, Hidden, Scroll, Wrap, None
  • Item customization - Templates, icons, disabled states
  • Event handling - Click events and rendering callbacks
  • RTL support - Right-to-left direction rendering
  • State persistence - Optional component state preservation
  • URL-based generation - Automatic breadcrumb creation from URLs

Documentation and Navigation Guide

Getting Started

📄 Read: references/getting-started.md

  • Installation and package setup
  • Basic breadcrumb component initialization
  • Creating and populating items array
  • Appending component to DOM
  • Minimal working example with code
  • CSS imports and theme configuration

Component Properties Overview

📄 Read: references/component-properties.md

  • Core property reference (activeItem, cssClass, disabled, enableNavigation)
  • Navigation configuration (enableActiveItemNavigation, enableNavigation)
  • State management (enablePersistence, enableRtl)
  • URL-based breadcrumb generation
  • Property descriptions with default values
  • Configuration patterns and best practices

Item Configuration

📄 Read: references/items-configuration.md

  • BreadcrumbItemModel interface and properties
  • Item properties (id, text, url, disabled, iconCss)
  • Creating and configuring breadcrumb items
  • Managing item states (enabled/disabled)
  • Adding icons to navigation items
  • Dynamic item updates and manipulation
  • Item accessibility considerations

Templates and Customization

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

  • itemTemplate property for custom item rendering
  • separatorTemplate for custom separators
  • Template function patterns and examples
  • Custom rendering implementation
  • Separator customization (default "/" and alternatives)
  • CSS class customization strategies

Overflow Modes and Behaviors

📄 Read: references/overflow-modes.md

  • BreadcrumbOverflowMode enum with all 6 modes
  • Menu mode - submenu for overflow items
  • Collapsed mode - collapsed icon with hidden items
  • Hidden mode - maximum visible items approach
  • Scroll mode - HTML scroll bar solution
  • Wrap mode - multiple line wrapping
  • None mode - single line display
  • maxItems configuration with each mode

Events and Event Handling

📄 Read: references/events-handling.md

  • itemClick event (BreadcrumbClickEventArgs)
  • beforeItemRender event (BreadcrumbBeforeItemRenderEventArgs)
  • created event for component initialization
  • Event handler patterns and setup
  • Accessing event arguments and properties
  • Canceling events with cancel property
  • Common event use cases and patterns

Methods and Lifecycle

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

  • Component lifecycle methods
  • appendTo() - DOM element attachment
  • destroy() - component cleanup
  • dataBind() - immediate data binding
  • refresh() - component re-rendering
  • getRootElement() - accessing root element
  • addEventListener/removeEventListener - dynamic event management
  • Inject() - module injection
  • Method best practices and timing

Quick Start Example

// Create breadcrumb component
const breadcrumbObj = new Breadcrumb({
  items: [
    { text: 'Home', url: '/' },
    { text: 'Category', url: '/category' },
    { text: 'Product', url: '/product' }
  ],
  enableNavigation: true
});

// Append to DOM
breadcrumbObj.appendTo('#breadcrumb');

// Handle item click
breadcrumbObj.itemClick = (args) => {
  console.log('Clicked item:', args.item.text);
};

Common Patterns

Pattern 1: Basic Navigation with Icons

const breadcrumb = new Breadcrumb({
  items: [
    { text: 'Dashboard', url: '/', iconCss: 'e-icons e-home' },
    { text: 'Products', url: '/products', iconCss: 'e-icons e-package' },
    { text: 'Electronics', url: '/products/electronics' }
  ]
});

Pattern 2: Overflow with Menu Mode

const breadcrumb = new Breadcrumb({
  items: [...manyItems],
  maxItems: 4,
  overflowMode: 'Menu'
});

Pattern 3: Event Handling for Navigation

const breadcrumb = new Breadcrumb({
  items: [...items],
  itemClick: (args) => {
    // Prevent default navigation
    args.cancel = false;
    // Navigate to item URL
    window.location.href = args.item.url;
  }
});

Pattern 4: Dynamic Item Updates

breadcrumb.items = newItemsList;
breadcrumb.dataBind();

Key Properties

PropertyTypeDefaultPurpose
itemsBreadcrumbItemModel[][]List of breadcrumb items to display
activeItemstring''URL of the active breadcrumb item
overflowModestring'Menu'How to handle items exceeding maxItems
maxItemsnumber-1Maximum items before overflow behavior
enableNavigationbooleantrueAllow item navigation
disabledbooleanfalseDisable entire breadcrumb
cssClassstring''Custom CSS classes for styling
enableRtlbooleanfalseRight-to-left rendering

Common Use Cases

Use Case 1: Website Navigation Breadcrumb

  • Display current page location in site hierarchy
  • Allow navigation to parent pages
  • Show active item highlighting

Use Case 2: E-Commerce Category Navigation

  • Show product category path
  • Handle deeply nested categories with overflow
  • Enable quick navigation to parent categories

Use Case 3: Application Workspace Navigation

  • Display current module/feature path
  • Show navigation history breadcrumb
  • Implement dynamic path updates

Use Case 4: File System Browser

  • Show current directory path
  • Navigate through folder hierarchy
  • Handle large folder structures with overflow

Next Steps: Choose a reference above to dive into specific implementation details, or run test cases to validate your breadcrumb implementation.

FAQ

What does the syncfusion-javascript-breadcrumb skill do?

Learn to implement and configure the Syncfusion TypeScript Breadcrumb component for navigation. Use this skill when implementing breadcrumb navigation for web applications. Covers component initialization, item configuration, overflow handling, event management, and advanced customization.

How do I install syncfusion-javascript-breadcrumb?

Run npx skills add https://github.com/syncfusion/javascript-ui-controls-skills --skill syncfusion-javascript-breadcrumb in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/syncfusion-javascript-breadcrumb/ (personal) or .claude/skills/syncfusion-javascript-breadcrumb/ (project).

Which AI agents can use syncfusion-javascript-breadcrumb?

Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.

Is syncfusion-javascript-breadcrumb safe to install?

No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.

Who maintains syncfusion-javascript-breadcrumb?

It is published by syncfusion in syncfusion/javascript-ui-controls-skills. It has 54 recorded installs.

More from syncfusion/javascript-ui-controls-skills

View all →

syncfusion-javascript-grid

syncfusion/javascript-ui-controls-skills

Implements Syncfusion JavaScript Grid component for feature-rich data tables and grids. Use this when working with data display, sorting, filtering, grouping, aggregates, editing, or exporting. This skill covers grid configuration, CRUD operations, virtual scrolling, hierarchy grids, state persistence, and advanced data management features for data-intensive applications.

syncfusion-javascript-common

syncfusion/javascript-ui-controls-skills

Common utilities and features for Syncfusion JavaScript controls. Use this skill when the user needs to implement animations, drag-and-drop, state persistence, RTL support, localization, globalization, security, templates, and advanced features for Syncfusion JavaScript controls.

syncfusion-javascript-dropdowns

syncfusion/javascript-ui-controls-skills

Comprehensive guide for implementing Syncfusion TypeScript dropdown components including AutoComplete, ComboBox, Mention, Dropdownlist, Multiselect, ListBox, and MultiColumn ComboBox. Use this when building selection interfaces, data binding, filtering, cascading dropdowns, dual list transfer, custom templates, and accessible dropdown experiences.

syncfusion-javascript-license

syncfusion/javascript-ui-controls-skills

Open the skill to read its SKILL.md instructions.

syncfusion-javascript-popups

syncfusion/javascript-ui-controls-skills

Open the skill to read its SKILL.md instructions.

syncfusion-javascript-tab

syncfusion/javascript-ui-controls-skills

This skill enables creating and customizing Syncfusion TypeScript Tab components, including tab navigation, tab headers, styling, responsive layouts, dynamic content loading, animations, and multi-panel organization.

Popular frontend & design skills

View category →

setup-matt-pocock-skills

mattpocock/skills

Configure this repo for the engineering skills: set up its issue tracker, triage label vocabulary, and domain doc layout. Run once before first use of the other engineering skills.

Frontend & Design1.1M installs

frontend-design

anthropics/skills

Guidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults.

OfficialFrontend & Design1M installs

hyperframes-animation

heygen-com/hyperframes

All animation knowledge for HyperFrames — atomic motion rules, multi-phase scene blueprints, scene transitions, broader motion-design techniques, AND the seven runtime adapters (GSAP default, plus Lottie, Three.js, Anime.js, CSS keyframes, Web Animations API, TypeGPU). Use for any motion or animation task: pick 2-4 rules and compose, or load a blueprint, or look up runtime-specific API (e.g. GSAP eases / Lottie player / Three.js mixer). Also covers auditing an existing composition's choreography (animation map) and 24 named text-animation effects. HyperFrames-native: single paused timeline, seek-safe, deterministic.

prototype

mattpocock/skills

Build a throwaway prototype to answer a design question. Use when the user wants to sanity-check whether a state model or logic feels right, or explore what a UI should look like.

Frontend & Design999.2K installs

hyperframes-core

heygen-com/hyperframes

The HyperFrames composition contract — build one renderable project. Use for composition structure, the data- timing attributes, class="clip", tracks, sub-compositions, variables, framework-owned media playback, deterministic-render rules, and validation. Read before writing composition HTML.

Frontend & Design930.5K installs

vercel-react-best-practices

vercel-labs/agent-skills

React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.

OfficialFrontend & Design843.1K installs