Skip to content

syncfusion/blazor-ui-components-skills / skills/syncfusion-blazor-breadcrumb

syncfusion-blazor-breadcrumb

Verified

Implement Syncfusion Blazor Breadcrumb (SfBreadcrumb) control for hierarchical navigation. Use this when building breadcrumb trails, auto-generating items from URLs, or managing dynamic navigation sequences. This skill covers overflow modes, item templates, icon customization, and responsive layout configurations.

references/styling-and-appearance.md

View on GitHub
# Styling and Appearance

## Table of Contents
- [CSS Classes](#css-classes)
- [Customizing Breadcrumb Appearance](#customizing-breadcrumb-appearance)
- [Theme Studio Integration](#theme-studio-integration)

---

## CSS Classes

The Breadcrumb component uses the following CSS classes for customization:

| CSS Class | Purpose |
|-----------|---------|
| `.e-breadcrumb .e-breadcrumb-item` | Customize the background of breadcrumb items |
| `.e-breadcrumb .e-breadcrumb-text` | Customize the color and style of breadcrumb text |
| `.e-breadcrumb .e-breadcrumb-icon` | Customize the color of breadcrumb icons |
| `.e-breadcrumb .e-breadcrumb-separator` | Customize the breadcrumb separator styling |
| `.e-breadcrumb` | Customize the entire background of the breadcrumb container |

---

## Customizing Breadcrumb Appearance

Use CSS to override the default Breadcrumb styling. Here's an example of customizing background, text color, icon color, and separator color:

```cshtml
@using Syncfusion.Blazor.Navigations

<SfBreadcrumb class="e-custom">
    <BreadcrumbItems>
        <BreadcrumbItem IconCss="e-icons e-home"></BreadcrumbItem>
        <BreadcrumbItem IconCss="e-icons e-folder-open" Text="Open" Url="https://blazor.syncfusion.com/demos/datagrid/overview"></BreadcrumbItem>
        <BreadcrumbItem IconCss="e-icons e-file-new" Text="New"></BreadcrumbItem>
    </BreadcrumbItems>
</SfBreadcrumb>

<style>
    .e-custom.e-breadcrumb .e-breadcrumb-item {
        background: antiquewhite;
    }
    .e-custom.e-breadcrumb .e-breadcrumb-text {
        color: lime !important;
    }
    .e-custom.e-breadcrumb .e-breadcrumb-icon {
        color: indianred !important;
    }
    .e-custom.e-breadcrumb .e-breadcrumb-separator {
        color: blue;
    }
    .e-custom.e-breadcrumb {
        background-color: azure;
    }
</style>
```

**Customization details:**
- `.e-breadcrumb-item` - Sets item background color to `antiquewhite`
- `.e-breadcrumb-text` - Sets text color to `lime`
- `.e-breadcrumb-icon` - Sets icon color to `indianred`
- `.e-breadcrumb-separator` - Sets separator color to `blue`
- `.e-breadcrumb` - Sets container background to `azure`

Define custom CSS class (`e-custom`) on the `SfBreadcrumb` component and target specific child elements to customize appearance.

---

## Theme Studio Integration

Create and apply custom themes using [Syncfusion Theme Studio](https://blazor.syncfusion.com/themestudio/?theme=material):

1. Visit the Theme Studio link
2. Customize colors, typography, and spacing
3. Download the custom theme CSS
4. Include the custom theme in your `index.html` or `_Layout.cshtml`

**Example of including a custom theme:**

```html
<!-- Replace the default theme with your custom theme -->
<link href="/custom-breadcrumb-theme.css" rel="stylesheet" />
```

Theme Studio allows you to:
- Override default color palettes
- Customize component dimensions
- Adjust typography for better readability
- Create consistent theming across all Syncfusion components

The custom theme CSS file generated by Theme Studio contains all necessary overrides for the Breadcrumb component's appearance.
reverse-engineer-anythingmorluto/reaReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis.Stars: 471kUpdated Claude CodeCodexVerifiedInstall
diagnosing-superpowersobra/superpowersUse when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness.Stars: 322kUpdated Claude CodeCodexVerifiedInstall
dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependenciesStars: 322kUpdated Claude CodeCodexVerifiedInstall
executing-plansobra/superpowersUse when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is availableStars: 322kUpdated Claude CodeCodexVerifiedInstall