Mile Marker
North American mile marker: route and mile number on a narrow green post.
The source comes with full access.
One payment of $149 opens the source right here and lets the CLI install every paid component, with lifetime updates.
Installation
pnpm dlx shadcn add @01orbital/mile-markernpx shadcn add @01orbital/mile-markeryarn shadcn add @01orbital/mile-markerbunx --bun shadcn add @01orbital/mile-markerPart of the 01orbital library. With a license, put ORBITAL_TOKEN in .env.local and the same command installs it (licensed install, pricing).
It lands at components/graphics/mile-marker.tsx, as source you own and edit.
Usage
import { MileMarker } from "@/components/graphics/mile-marker"
// Every word on the page. Change copy here, not in the markup.
const COPY = { route: "I-80" } as const
// Night ground: the faces are cut for a dark page.
export default function MileMarkerDemo() {
return <MileMarker mile={214} route={COPY.route} />
}API reference
Prop
Type
It also accepts the HTML attributes of the element it renders.
Dependencies
npm: cn. The CLI installs them for you.
Registry pieces it installs with it:
font-overpass
More Graphics
Highway Sign
North American highway guide sign: route shield, direction and destinations with distances, on a green face in the Overpass sign font.
Neoconstruct Marker
Neoconstruct's ruler-and-compass marks: wedge, slash, disc, ring, plus, square, bar and star, plus a zero-padded numeral. Ships in the Neoconstruct theme.