Sticky Columns

Two columns: one stays in view while the other scrolls by.

Workflow

Plan, build, ship.

This column stays put while the steps scroll by.

01

Plan

Turn ideas into issues, sorted by what matters this week.

02

Build

Branches, reviews and previews, linked to the issue they close.

03

Ship

Release when checks are green, with notes written for you.

04

Learn

See how each release lands, and feed it back into the plan.

Installation#

pnpm dlx shadcn@latest add @balick/sticky-columns

Or pass the full URL: https://ui.balick.me/r/sticky-columns.json

Usage#

import { StickyColumns } from "@/components/ui/sticky-columns"

export function Workflow() {
  return (
    <StickyColumns aside={<h2 className="text-4xl font-semibold tracking-tighter">Plan, build, ship.</h2>}>
      <Steps />
    </StickyColumns>
  )
}

Props#

PropTypeDefault
aside

The column that stays in view: usually a title, a short text and a call to action. Required.

ReactNode—
side

Side of the sticky column.

"left" | "right""left"
top

Distance kept between the sticky column and the top of the screen. The default clears the navbar.

string"6rem"