---
id: portfolio.ds.homepage-statement
name: "Homepage Statement"
type: pattern
status: active
relations: [{"type":"composes","target":"portfolio.ds.heading"},{"type":"related_to","target":"portfolio.ds.typography"},{"type":"related_to","target":"portfolio.ds.text-reveal-motion"}]
sources: ["packages/design-system/src/components/HomepageStatement.astro","packages/design-system/src/components/HomepageDisplayCopy.astro","packages/design-system/src/components/text-reveal.ts","apps/portfolio-site/src/design-system/docs/homepage-statement.astro","apps/portfolio-site/src/design-system/docs/homepage-hero-preview.css"]
catalog: ["apps/portfolio-site/src/design-system/docs/homepage-statement.astro"]
previews: ["apps/portfolio-site/src/design-system/docs/homepage-statement.astro"]
---
# Homepage Statement

## Purpose
A compact H2 statement that introduces the next section of a homepage.

## Use
Place a short secondary statement between sections, such as the transition from Projects to Packages.

## Do Not Use
For the page's main H1 or a full-height introduction with a scroll cue, use Homepage Hero instead.

## Contract
- Sizes to its content. Uses Block padding on all four sides. No viewport minimum, arrow or arrow inset.
- Uses Display Level 2 typography (48px, 1.1 line height), a 28ch measure and wrapping for long words.
- Accepts `question` (statement text), optional `explanation` and optional `explanationId`. The caption is omitted by default.
- The heading starts typing when the section reaches 66% of the viewport height. Scrolling does not replay the animation.

## Accessibility
The H2 is present in server HTML. Animated characters and the decorative cursor are hidden from assistive technology. Reduced Motion shows the complete static statement immediately.

## Verification
Run `scripts/homepage-hero-motion-check.cjs` against the local site to check the standalone preview and its use in the Home Page composition.
