Back to blocks
BlockDashboard / ApplicationFree

Vertical Navigation React component

A documentation-style vertical navigation with collapsible sections, nested pages on a guide line, a sliding active pill and marker, a filter that highlights matches (press /), arrow-key movement, and a content pane with breadcrumbs and previous / next links. On phones it folds into a menu button that shows the current page.

About the Vertical Navigation component

Vertical Navigation is the left-hand menu you find in docs, help centers and settings areas, together with the page it controls. Sections fold open and closed, pages can have child pages on a guide line, and the current page is marked by a pill that slides as you move.

It is built for finding things fast: press / to filter, and matching words are highlighted while the right sections open on their own. Arrow keys move through the list, and Previous and Next links at the bottom of each page walk through everything in order.

When to use it

Use it for documentation, help centers, handbooks, settings with many pages, or any content with two levels of structure.

For an app's main navigation with icons and a collapsible rail, use App Shell with Sidebar instead.

Installation

Add the Vertical Navigation component to your project with the shadcn CLI. It lands in components/vertical-navigation.tsx as plain React + Tailwind CSS source you own and can edit.

Install
Copied!
npx shadcn@latest add @reactframe/vertical-navigation

Or copy the source by hand and install its dependencies:

Install
Copied!
npm install motion clsx tailwind-merge

More Dashboard / Application components

Event Calendar
Free
Radio Group Cards
Free
Gantt Chart
Free
Form Layout
Free
Dashboard Header
Free
Action Panel
Free