ComponentsGraphics

Mile Marker

North American mile marker: route and mile number on a narrow green post.

Open the preview in a new tab

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-marker
npx shadcn add @01orbital/mile-marker
yarn shadcn add @01orbital/mile-marker
bunx --bun shadcn add @01orbital/mile-marker

Part 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

On this page