Navigation 6

A column of fixed side lines that stretch toward the cursor with springs, expanding into labeled nav links on hover.

Portfolio

Design in motion

The lines on the right stagger toward your cursor and reveal the sections of this page.

Navigation 6 is a column of thin fixed lines down the edge of the viewport that stretch toward the cursor with springs; hovering one expands it into a labeled nav link. Line count and link positions are props, so the density is yours to tune. Built with Framer Motion and React. An unusual, elegant side navigation for portfolios and art directed sites.

Installation

Install dependencies.

Copy and paste the following code into your project.

Unlock the full library

Get all pro blocks, components & illustrations, and production-ready Next.js + Tailwind templates.

Get All Access

Usage

import { SideStaggerNavigation } from "@/components/pro/blocks/navigation-6";
<SideStaggerNavigation
  links={[
    { position: 1, title: "Home" },
    { position: 8, title: "About" },
  ]}
/>

Props

PropTypeDefaultDescription
linksSideStaggerLink[]4 default linksLinks with a position (1-based line index) and title.
totalLinesnumber30Number of lines in the side column.
classNamestring—Classes for the fixed nav element.