Skip to main content AWT

Hero

A centered hero: an eyebrow line, a headline, a short paragraph, and a main button. The top of a landing page.

To add it, open the block inserter in the editor, choose the Patterns tab, and search for “Hero”. Drop it in, then replace the placeholder content with your own.

Live example

This is the real Hero pattern, rendering on this page right now. Flip the color scheme with the toggle in the header and the pattern recolors with it.

Accessible by default

Build accessible WordPress sites

Carbon Design System components, paired light/dark variants, and a real accessibility commitment, all in a free, GPL-licensed theme.

What’s inside

Every AWT pattern is built from AWT blocks, nothing custom. Each block below is documented on its own page, with every parameter and state.

Blocks that make up the Hero pattern
BlockWhat it is
SectionA container that keeps content at a readable width with even spacing.
HeroA large heading, supporting text and a call to action.
Inline setA row of evenly spaced buttons, tags, icons, links or toggletips.
ButtonA button that runs an action or opens a link.

Accessible the moment you insert it

Every block in this pattern carries AWT’s accessibility work: a discernible name for each control, correct roles and states, a visible focus ring, and text contrast that holds in both color schemes.

Dark mode, built in

Switch to dark mode with the toggle in the header and the pattern adapts to it.