Skip to content
kapable

PageShell

Navigation · 1 export · v0.1.0 · showcase

Responsive main-content column that owns the page skip-target contract.

Browse 72 component families

PageShell owns main#main and the page column, so this focused document describes it without nesting invalid page landmarks. This server-rendered page does not imitate client behavior. Open the live playground.

Usage

PageShell usage
<PageShell width="md">Page content</PageShell>

API

PageShell API

PageShellProps

The page column every app was hand-rolling (demo, styleguide, kitprobe, gallery — four copies before this component): a labeled `<main id="main">` with a width variant and the kit's vertical rhythm. NOT a layout system — grids and stacks stay app-owned css(); this is the document column plus the skip-link contract (`#main` is the skip target; the Document renders the `.kp-skip-link` per the skill, or pass `skipLink` to colocate it).

PageShell props
proptypenotes
children?RemixNode
width?'narrow' | 'md' | 'wide'Column width: 'narrow' 720px · 'md' 880px (default) · 'wide' 1100px.
skipLink?booleanRender the skip link here (only when the Document doesn't own one).
mix?MixInput

More in Navigation

More in Navigation