Component packs › Transit › 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.
Junction Menu is a mega menu from Transit, a component pack with 8 components: Navigation components drawn as one metro line. Price: $2 for the whole pack.
Built with: drawn branches, disclosure, Escape.
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 |
|---|---|---|---|
brand | string | ||
tabs | JunctionTab[] | ||
onNavigate | (label: string) => void | ||
theme | 'dark' | 'light' | ||
autoplay | boolean | Showcase mode: opens menus and runs to columns until touched. |
open(i: number | null): voiddestroy(): voidimport JunctionMenu from './JunctionMenu';
<JunctionMenu />The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.
Good for: Navigation and menus.