Breadcrumb

Breadcrumb

Wayfinding navigation inspired by Shimokitazawa transit stops and late-night alley signposts. Supports both a concise items prop and composable primitives.

Station Line (Default)

Inspired by Shimokitazawa's Odakyu & Inokashira transit stops — connected route nodes with a glowing violet active stop.

Alley Signpost

Nocturnal glass strip with diagonal slash dividers, optional icons, and a violet edge highlight on the active stop.

Minimal & Composable

Borderless inline trail using composable subcomponents for compact headers and documentation pages.

Quick Import

Example.tsxtsx
1import { Breadcrumb } from "@rekodo/react";
2
3export function Example() {
4 return (
5 <Breadcrumb
6 variant="station"
7 items={[
8 { label: "Shimokitazawa", href: "/" },
9 { label: "Artists", href: "/artists" },
10 { label: "Yoru no Machi" },
11 ]}
12 />
13 );
14}

API Reference

Props accepted by this component.

PropTypeDefaultDescription
variant"station" | "alley" | "minimal""station"Shimokitazawa transit-stop rail, nocturnal alley strip, or borderless minimal trail.
itemsBreadcrumbItemData[]undefinedOptional array of stops ({ label, href?, icon?, onClick?, current? }) for quick rendering.
separatorReactNodeundefinedCustom separator element overriding the variant default.
childrenReactNodeundefinedComposable BreadcrumbList, BreadcrumbItem, BreadcrumbLink, BreadcrumbPage, and BreadcrumbSeparator.