Magnetic Dock Nav

Dock with magnetic magnification on hover.

Try it: Slide across icons — neighbors magnify.

Installation

Install with the shadcn CLI:

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

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

Usage

import { MagneticDockNav } from '@/components/ui/magnetic-dock-nav'
  • 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…

  • Radial Toolburst

    Center control bursts into orbiting tool nodes.

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

  • Morph Pill Header

    Full header collapses to a floating pill on scroll.

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

  • Curtain Drop Nav

    Top bar with curtain-reveal dropdown panels.

See all 12 Navigation components