SEO Optimized
BreadcrumbList schema markup included
SEO-friendly navigation breadcrumbs with automatic schema markup. Shows users where they are in your site hierarchy.
Breadcrumbs show the navigation path from home to the current page. They help users understand site structure and provide quick navigation back to parent pages. Plus, they include BreadcrumbList schema markup that Google displays in search results.
As of the recent refactor, breadcrumbs are now integrated directly into the Hero component for consistent positioning at the absolute top of pages.
Simple navigation path with home link included automatically
Handles multiple levels of hierarchy
Optional: exclude home link if not needed
The easiest way to add breadcrumbs is through the Hero component:
---
import Hero from '@theme/components/sections/Hero.astro';
---
<Hero
variant="centered"
heading="Page Title"
description="Page description"
breadcrumbs={[
{ title: 'Features', href: '/features/' },
{ title: 'Components', href: '/features/components/' },
{ title: 'Current Page', href: '/features/components/breadcrumbs/' },
]}
/> You can also use breadcrumbs independently:
---
import Breadcrumbs from '@theme/components/ui/Breadcrumbs.astro';
---
<Breadcrumbs
items={[
{ title: 'Features', href: '/features/' },
{ title: 'Components', href: '/features/components/' },
]}
/> items - Array
of breadcrumb items (required)
items[].title - Display text for breadcrumb
items[].href - Link URL for breadcrumb
includeHome - Include home link? (default: true)
schema - Include
BreadcrumbList schema? (default: true)
noContainer - Skip container wrapper? (default: false)
Breadcrumbs automatically include BreadcrumbList schema markup that:
BreadcrumbList schema markup included
Automatic home link (optional)
Semantic HTML with ARIA labels
Adapts to color scheme
Add navigation context to every page with SEO-friendly breadcrumbs.