guide

guide-content

Prose primitives for the guide column — Lead (opening line, slightly larger), P (workhorse paragraph, muted), Aside (soft side-note in a left rail, not a competing card).

Extracted

GuideShell

A two-pane shell for docs-style reading — sticky scroll-spy nav on the left, a scrollable prose column on the right.

Scroll this column and watch the left nav highlight follow — that's an IntersectionObserver watching every registered section, not a manual scroll handler.

Scroll spy

Each GuideSection registers its own DOM ref via the registerRef render-prop GuideShell forwards. No section needs to know about any other section.

Prose primitives

Lead is the opening line of a section — slightly larger.

P is the workhorse paragraph weight, muted by default.

Detail

Eyebrows

This section's heading has an eyebrow — the small "Detail" kicker above the title. It's optional per-section, not a running header.

Seen in the GuideShell demo above — Lead opens a section, P carries the body, Aside adds a side-note.

Installation

import from @workspace/ui module-owned, not registry-installable

Usage

GuideContent: Lead · P · Aside