Skip to content

Sticky Layout

Two-column page layout: a pinned intro with scrollspy navigation on the left and scrolling sections on the right.

Installation

pnpm dlx shadcn@latest add @portfolio-kit/sticky-layout
First time? Add the @portfolio-kit registry to components.json
components.json
{
  "registries": {
    "@portfolio-kit": "https://www.parthjadhav.com/products/portfolio-kit/r/{name}.json"
  }
}

Usage

Examples

Numbered with Footer

A narrower aside with an indexed nav, and a footer under the main column that the pinned intro stays beside.

API Reference

Used in