skip to the page
superthread
componentsfleet rail
system
superthread
version
2.0.0-next.1
date
25.10.26

fleet rail

the fleet in one column on the deep ground: every ship's mark at 32 px, the ship you are in boxed in the house ink. point at a cell, or tab to it, to read its name.

bunx --bun shadcn@latest add @mk/fleet-rail

in both modes

the ground keeps the page’s mode, and the rail on it prints in the dark palette in both. a cell under the pointer or keyboard focus inverts, swaps to its light mark and shows the ship’s name in a tab joined to it. with reduced motion the tab shows without the slide.

a ship with no link prints at half and takes no hover. at 900 px and below the rail turns into a bar across the top, and the name drops under the cell.

props

current
the id of the ship this surface is. its cell is boxed.
hrefs
where each cell goes, by ship id, and home for the superthread mark at the top. a ship without one is a disabled cell.
markBase
the folder that holds <id>/<id>.svg and <id>/<id>-dark.svg for every ship. it defaults to the marks on superthread.mauricekleine.com; this site serves its own and passes "/marks".
label
the rail’s accessible name, fleet by default.
sidebar
the ship’s own nav, printed beside the rail.
children
the page beside the rail and its nav, on the same ground.