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.
station-breadcrumb.tsx
Alley Signpost
Nocturnal glass strip with diagonal slash dividers, optional icons, and a violet edge highlight on the active stop.
alley-breadcrumb.tsx
Minimal & Composable
Borderless inline trail using composable subcomponents for compact headers and documentation pages.
minimal-breadcrumb.tsx
Quick Import
Example.tsxtsx
1import { Breadcrumb } from "@rekodo/react";2
3export function Example() {4 return (5 <Breadcrumb6 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.
| Prop | Type | Default | Description |
|---|---|---|---|
| variant | "station" | "alley" | "minimal" | "station" | Shimokitazawa transit-stop rail, nocturnal alley strip, or borderless minimal trail. |
| items | BreadcrumbItemData[] | undefined | Optional array of stops ({ label, href?, icon?, onClick?, current? }) for quick rendering. |
| separator | ReactNode | undefined | Custom separator element overriding the variant default. |
| children | ReactNode | undefined | Composable BreadcrumbList, BreadcrumbItem, BreadcrumbLink, BreadcrumbPage, and BreadcrumbSeparator. |