AstrolUI AstrolUI
Yellow Orange Red Green Blue Purple Custom color
Light mode
Breadcrumb

1. Demo AstrolBreadcrumb

@using Astrol.Entities.Basic.UI
@using Astrol.Component.Basic.Breadcrumb
<AstrolBreadcrumb BreadcrumbList="BreadcrumbList" />
@code {
   private List<BreadcrumbItem> BreadcrumbList = new List<BreadcrumbItem> {
       new BreadcrumbItem { Text = "Home", Icon = "astrol-home", URL = "/"},
       new BreadcrumbItem { Text = "Components", Icon = "astrol-th-outline", URL = "/basic-component"},
       new BreadcrumbItem { Text = "Breadcrumb"},
   };
}

Supported parameters

  • BreadcrumbList (List<BreadcrumbItem>): items to display, in order. If it is null or empty nothing is displayed.
  • Separator (string): class of the separator icon between items (default is astrol-angle-right ).
  • BreadcrumbItem properties (Astrol.Entities.Basic.UI):
    • URL (string?): link address. The last item is always displayed as text (current page, with aria-current="page") even if it has a URL; items without a URL are also displayed as text.
    • Text (string?): item text.
    • Icon (string?): class of the icon before the text (not required).
Markdown for AI © 2026 AstrolUI v10.0.13