Component packs › Transit › Station Crumbs
Breadcrumbs are stops with the train at your page; the middle folds into a +3 interchange that opens out on springs, and a ghost train previews the ride back.
Station Crumbs is a breadcrumbs from Transit, a component pack with 8 components: Navigation components drawn as one metro line. Price: $2 for the whole pack.
Built with: interchange fold, ghost preview, nav > ol.
Code: React and Next.js (TypeScript), Vue 3, plain HTML/CSS/JS, Tailwind CSS v4 and Motion (motion.dev). No npm packages needed. Keyboard accessible, with a reduced-motion version, in dark and light.
| Prop | Type | Default | Description |
|---|---|---|---|
trail | CrumbStop[] | ||
maxVisible | number | 4 | Fold the middle when there are more stops than this. Default 4. |
onNavigate | (index: number) => void | ||
theme | 'dark' | 'light' | ||
autoplay | boolean | Showcase mode: opens the interchange and walks the trail until touched. |
readonly index: numberdestroy(): voidimport StationCrumbs from './StationCrumbs';
<StationCrumbs />The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.
Good for: Navigation and menus.