Component packs › Transit › Station Crumbs

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.

Station Crumbs props

PropTypeDefaultDescription
trailCrumbStop[]
maxVisiblenumber4Fold the middle when there are more stops than this. Default 4.
onNavigate(index: number) => void
theme'dark' | 'light'
autoplaybooleanShowcase mode: opens the interchange and walks the trail until touched.

Methods on the ref

Use it in React

import StationCrumbs from './StationCrumbs';

<StationCrumbs />

The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.

More in Transit

Good for: Navigation and menus.