skip to the main content
twblazor Logo twblazor
HomeGet started
  • Breadcrumb
  • Card
  • CarouselNew
  • Collapse
  • Navbar
  • Sidebar
  • StepperNew
  • Tabs
  • Tree ListNew
  • Button
  • Checkbox
  • Color PickerNew
    • Date
    • Date RangeNew
    • Datetime
    • Datetime RangeNew
    • Time
    • Time RangeNew
  • File Upload
  • Radio Button
  • Select
  • Slider
  • Switch
  • Textfield
  • Alert
  • Chip
  • Icon
  • Progress
  • SkeletonNew
  • SpinnerNew
  • Data Table
  • Pagination
  • Pick ListNew
  • Table
  • Dialog Service
  • Toast Service
API Documentation
Home Get Started

Layout

TwBreadcrumb

TwBreadcrumb is a Blazor breadcrumb component that shows the current page location. Build trails automatically with Auto, or manually with Label, Href and Icon.

Last updated 24 September 2026

Breadcrumbs

Usage of breadcrumb is simplified, you can use the component and allow for automatic breadcrumbs based on the current uri structure:
  1. breadcrumb
Razor
<TwBreadcrumb Auto />

Manual Breadcrumbs

You can also manually configure the breadcrumbs:
  1. Home
  2. /Settings
Razor
<TwBreadcrumb Breadcrumbs="@breadcrumbs" />
CSHARP
@code {
    private readonly List<BreadcrumbItem> breadcrumbs = new()
    {
        new()
        {
            Icon = Icon.House,
            Label = "Home",
            Href = "/"
        },
        new ()
        {
            Icon = Icon.Wrench,
            Label = "Settings",
            Href = "/"
        }
    };
}

Inline Breadcrumbs

You can also manually configure the breadcrumbs inline like so:
  1. Home
  2. /Docs
  3. /Breadcrumb
Razor
<TwBreadcrumb>
    <TwBreadcrumbItem Label="Home" Href="/" />
    <TwBreadcrumbItem Label="Docs" Href="/" />
    <TwBreadcrumbItem Label="Breadcrumb" Href="/breadcrumb" Icon="Icon.Segmented_Nav" AriaCurrent />
</TwBreadcrumb>

Theme Configuration

Styling is controlled by TwBlazorTheme.Components (a TwBreadcrumbTheme), configured via the AddTwBlazor() options callback described on the Get Started page. Every property is a set of Tailwind classes, so changes are picked up by your own Tailwind build.
Property Type Controls
List string
Item string
Separator string
Label string

Full reference: TwBreadcrumbTheme on the API docs.

On this page

  • Breadcrumbs
  • Manual Breadcrumbs
  • Inline Breadcrumbs
  • Theme Configuration
GitHub (opens in a new tab) • Documentation (opens in a new tab) • MIT License (opens in a new tab)

twblazor is and always will be free and open source.

An unhandled error has occurred. Reload 🗙