Compass Rail

Vertical rail with a shortest-path compass marker.

Try it: Click items — the compass marker takes the short path.

Installation

Install with the shadcn CLI:

npx shadcn@latest add https://www.framekitui.live/r/compass-rail.json

Or, with the @framekit namespace registered: npx shadcn@latest add @framekit/compass-rail. You can also copy the source into components/ui/compass-rail.tsx (view on GitHub).

Usage

import { CompassRail } from '@/components/ui/compass-rail'
  • Halo Menu

    Center action opens a 6-item halo.

  • Plucked String Tabs

    Tabs hang from a taut string. Choosing one plucks the string there and the vibration travels as a real damped wave; every tab bobs with the string above it and a glowing bead slides to the active…

  • Magnify Dock

    Dock with proximity scaling.

  • File Tree Explorer

    An editor-grade file tree: folders open on a soft height spring, hairline guides show depth, and one highlight glides between selected rows. Full WAI-ARIA tree keyboard support with type-ahead; the…

  • Orbiting Icons

    Icons circle a central hub.

  • Island Section Nav

    A floating pill that tells you where you are — current section with a scroll-progress ring — then swells into a full jump bar on hover, focus or tap with a sliding highlight, and settles back when…

See all 12 Navigation components