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 you leave.

Try it: Scroll the page, then hover or tap the pill to open the jump bar.

Installation

Install with the shadcn CLI:

npx shadcn@latest add https://www.framekitui.live/r/island-section-nav.json

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

Usage

import { IslandSectionNav } from '@/components/ui/island-section-nav'

Props

Component props
PropTypeDefaultNotes
sections{ id: string; label: string; icon: ReactNode }[]—Sections to track. Each id must match an element id in the page.
scrollContainerRefObject<HTMLElement>—Scrolling element (defaults to the window).
labelstring'Page sections'Accessible name of the nav landmark.
classNamestring—Extra classes merged onto the sticky wrapper.

Dependencies

  • motion
  • 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…

  • Command Menu

    A Ctrl/⌘ K palette for hopping around a portfolio: fuzzy search that underlines the letters it matched, grouped results, a highlight pill that springs between rows, key-cap hints and full combobox…

  • 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…

  • Magnetic Dock Nav

    Dock with magnetic magnification on hover.

  • Compass Rail

    Vertical rail with a shortest-path compass marker.

  • Radial Toolburst

    Center control bursts into orbiting tool nodes.

See all 12 Navigation components