Eight navigation components where every piece is a stretch of the same route line and the current page is a train. The train runs on a real motion profile: it pulls away, cruises and brakes to stop exactly on its station, and leans or stretches with its acceleration. A sidebar whose nested groups branch off and rejoin the line, tabs whose pill stretches on the move and recolours the labels it covers, a table of contents that fills as you read, a checkout stepper where the train reverses, a mega menu whose line branches to every column, breadcrumbs that fold into an interchange, pagination with express track, and a mobile menu that draws itself down the screen. Real nav landmarks, aria-current, full keyboard patterns, light and dark, reduced motion, zero dependencies.
Type: Component packs. Price: $2. Code: React and Next.js (TypeScript), Vue 3, plain HTML/CSS/JS, Tailwind CSS v4 and Motion (motion.dev). Tags: navigation, sidebar, tabs, table of contents, scrollspy, stepper, mega menu, breadcrumbs, pagination, mobile menu.
What is inside (8 components)
Metro Sidebar: Pages are stations and the current page is a train that pulls away, cruises and brakes on the one you pick; nested groups branch off the line and rejoin it.
Line Tabs: The front of the pill drives to the new tab while the back catches up, so it stretches and leans on the move, and the labels change colour exactly where it covers them.
Scroll Line: The contents are a route beside the article: the line fills as you read, the train sits where you are and each station lights as you reach it.
Route Stepper: A checkout drawn as a route: the train brakes at each stop, the track fills behind it, stops get ticks, and going back makes it reverse, headlight and all.
Junction Menu: Open a menu and a line drops from its tab and branches to every column; hover a column and its branch lights while a train runs out to it.
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.
Stops Pagination: Pages are stations and skipped runs are express track: the train barely gets going on a short hop and speeds up across a long jump.
Line Menu: Tap the menu and the route draws itself down the screen, stations pop on and each link boards from the line; closing runs it all back.