---
title: "Breadcrumbs"
pageTitle: "Fylgja Breadcrumbs"
description: "The Fylgja breadcrumbs component provides a simple, accessible way to render breadcrumb navigation"
npm: "@fylgja/breadcrumbs"
git: "https://github.com/fylgja/fylgja/tree/main/components/breadcrumbs"
faq:
- question: How do I mark the current page?
answer: Add aria-current="page" to the current item's link, as shown in the
usage examples. This is also how the Accessibility guide recommends
handling "current page" state across Fylgja components.
- question: Can I use a custom separator like an icon instead of a character?
answer: The --breadcrumbs-separator variable expects a CSS content value (a
string, as in ">"), so you can use any string-based separator, but not
directly reference an SVG element through it.
- question: Does this component require a
, or can I use a
?
answer: The styling targets the list itself, so a
would be styled the
same way, but it isn't recommended. Breadcrumbs are an ordered sequence,
and only conveys that order to assistive technology; a
doesn't
express the order at all.
---
import InstallTabs from "@/components/InstallTabs.astro";
The Fylgja breadcrumbs component provides a simple, accessible way to render breadcrumb navigation.
## Installation
## Usage
Once installed, you can import the full package with:
```css
@import "@fylgja/breadcrumbs";
```
### Basic Usage
Add the `.breadcrumbs` class to your list. Wrap it in a `