Genesis
@beta

Band

Band: a full-bleed, full-width marketing section. The background runs edge to edge; the content sits in a centered column with the page gutter. It is what a landing page is made of: a hero, a features band, a call to action, a footer. ```tsx <Band surface="accent" spacing="lg" aria-labelledby="cta-title"> <Display as="h2" id="cta-title" size="lg">Start today</Display> </Band> ``` Unlike `Section` (a titled region inside an app page), a band carries no heading of its own: a marketing page decides its heading levels per page (one `h1`, then `h2`s), so the caller places a `Display` and names the region with `aria-labelledby`. Server-safe: no state, no effects.

packages/ui/src/components/layout/band.tsx

Import
Subpath export: @marktiderman/genesis-ui/layout
import { Band } from "@marktiderman/genesis-ui/layout";
Components
Auto-generated from TypeScript source via react-docgen-typescript.

Band

Band: a full-bleed, full-width marketing section. The background runs edge to edge; the content sits in a centered column with the page gutter. It is what a landing page is made of: a hero, a features band, a call to action, a footer. ```tsx <Band surface="accent" spacing="lg" aria-labelledby="cta-title"> <Display as="h2" id="cta-title" size="lg">Start today</Display> </Band> ``` Unlike `Section` (a titled region inside an app page), a band carries no heading of its own: a marketing page decides its heading levels per page (one `h1`, then `h2`s), so the caller places a `Display` and names the region with `aria-labelledby`. Server-safe: no state, no effects.

PropTypeDefaultDescription
asenumh2The element to render. `section` (default) for a region of the page, `header` / `footer` for the site's banner and footer, `div` for a band that is not a region of its own.
innerClassNamestring—Classes for the inner column, after the width and gutter.
spacing"none" | "sm" | "md" | "lg" | null—
surface"base" | "muted" | "accent" | "inverse" | null—
testIDstring—Stable test/automation selector (emitted as `data-testid`).
widthenumlgThe inner column's width (Container's named widths). Default `lg`.

Display

Display: a heading in the marketing type scale (`displayVariants`). ```tsx <Display as="h1" size="xl">Train with people who know your name</Display> ```

PropTypeDefaultDescription
asenumh2The heading level: document structure, not a size. Default `h2`.
size"sm" | "md" | "lg" | "xl" | null—
testIDstring—Stable test/automation selector (emitted as `data-testid`).

BandLead

PropTypeDefaultDescription
testIDstring—
tone"muted" | "inherit" | null—