Data

Page outline

A section outline on a rail that jogs with heading depth, tracking the section being read.

Installation

The rail traces the heading hierarchy rather than sitting straight, so depth stays legible without indenting the type. Scroll and the pulse travels the rail to the section being read.

Package manager

The rail traces the heading hierarchy rather than sitting straight, so depth stays legible without indenting the type. Scroll and the pulse travels the rail to the section being read.

pnpm

The rail traces the heading hierarchy rather than sitting straight, so depth stays legible without indenting the type. Scroll and the pulse travels the rail to the section being read.

Peer dependencies

The rail traces the heading hierarchy rather than sitting straight, so depth stays legible without indenting the type. Scroll and the pulse travels the rail to the section being read.

npm

The rail traces the heading hierarchy rather than sitting straight, so depth stays legible without indenting the type. Scroll and the pulse travels the rail to the section being read.

Manual setup

The rail traces the heading hierarchy rather than sitting straight, so depth stays legible without indenting the type. Scroll and the pulse travels the rail to the section being read.

Usage

The rail traces the heading hierarchy rather than sitting straight, so depth stays legible without indenting the type. Scroll and the pulse travels the rail to the section being read.

Rendering

The rail traces the heading hierarchy rather than sitting straight, so depth stays legible without indenting the type. Scroll and the pulse travels the rail to the section being read.

Selection

The rail traces the heading hierarchy rather than sitting straight, so depth stays legible without indenting the type. Scroll and the pulse travels the rail to the section being read.

Keyboard model

The rail traces the heading hierarchy rather than sitting straight, so depth stays legible without indenting the type. Scroll and the pulse travels the rail to the section being read.

API reference

The rail traces the heading hierarchy rather than sitting straight, so depth stays legible without indenting the type. Scroll and the pulse travels the rail to the section being read.

Props

The rail traces the heading hierarchy rather than sitting straight, so depth stays legible without indenting the type. Scroll and the pulse travels the rail to the section being read.

Installation

npx shadcn@latest add https://nessalabs.ai/r/page-outline.json

Examples

collapse="auto" folds every branch but the settled one

Installation

The rail traces the heading hierarchy rather than sitting straight, so depth stays legible without indenting the type. Scroll and the pulse travels the rail to the section being read.

Package manager

The rail traces the heading hierarchy rather than sitting straight, so depth stays legible without indenting the type. Scroll and the pulse travels the rail to the section being read.

pnpm

The rail traces the heading hierarchy rather than sitting straight, so depth stays legible without indenting the type. Scroll and the pulse travels the rail to the section being read.

Peer dependencies

The rail traces the heading hierarchy rather than sitting straight, so depth stays legible without indenting the type. Scroll and the pulse travels the rail to the section being read.

npm

The rail traces the heading hierarchy rather than sitting straight, so depth stays legible without indenting the type. Scroll and the pulse travels the rail to the section being read.

Manual setup

The rail traces the heading hierarchy rather than sitting straight, so depth stays legible without indenting the type. Scroll and the pulse travels the rail to the section being read.

Usage

The rail traces the heading hierarchy rather than sitting straight, so depth stays legible without indenting the type. Scroll and the pulse travels the rail to the section being read.

Rendering

The rail traces the heading hierarchy rather than sitting straight, so depth stays legible without indenting the type. Scroll and the pulse travels the rail to the section being read.

Selection

The rail traces the heading hierarchy rather than sitting straight, so depth stays legible without indenting the type. Scroll and the pulse travels the rail to the section being read.

Keyboard model

The rail traces the heading hierarchy rather than sitting straight, so depth stays legible without indenting the type. Scroll and the pulse travels the rail to the section being read.

API reference

The rail traces the heading hierarchy rather than sitting straight, so depth stays legible without indenting the type. Scroll and the pulse travels the rail to the section being read.

Props

The rail traces the heading hierarchy rather than sitting straight, so depth stays legible without indenting the type. Scroll and the pulse travels the rail to the section being read.

A host marker banking along the rail

Installation

The rail traces the heading hierarchy rather than sitting straight, so depth stays legible without indenting the type. Scroll and the pulse travels the rail to the section being read.

Package manager

The rail traces the heading hierarchy rather than sitting straight, so depth stays legible without indenting the type. Scroll and the pulse travels the rail to the section being read.

pnpm

The rail traces the heading hierarchy rather than sitting straight, so depth stays legible without indenting the type. Scroll and the pulse travels the rail to the section being read.

Peer dependencies

The rail traces the heading hierarchy rather than sitting straight, so depth stays legible without indenting the type. Scroll and the pulse travels the rail to the section being read.

npm

The rail traces the heading hierarchy rather than sitting straight, so depth stays legible without indenting the type. Scroll and the pulse travels the rail to the section being read.

Manual setup

The rail traces the heading hierarchy rather than sitting straight, so depth stays legible without indenting the type. Scroll and the pulse travels the rail to the section being read.

Usage

The rail traces the heading hierarchy rather than sitting straight, so depth stays legible without indenting the type. Scroll and the pulse travels the rail to the section being read.

Rendering

The rail traces the heading hierarchy rather than sitting straight, so depth stays legible without indenting the type. Scroll and the pulse travels the rail to the section being read.

Selection

The rail traces the heading hierarchy rather than sitting straight, so depth stays legible without indenting the type. Scroll and the pulse travels the rail to the section being read.

Keyboard model

The rail traces the heading hierarchy rather than sitting straight, so depth stays legible without indenting the type. Scroll and the pulse travels the rail to the section being read.

API reference

The rail traces the heading hierarchy rather than sitting straight, so depth stays legible without indenting the type. Scroll and the pulse travels the rail to the section being read.

Props

The rail traces the heading hierarchy rather than sitting straight, so depth stays legible without indenting the type. Scroll and the pulse travels the rail to the section being read.

Behaviours

Covered by the component's storybook.

DefaultFrom ContentAuto CollapseCustom Marker