Hero
The large opening block of a page: a title, a sentence, a call to action, and optionally media beside them. Stacks by itself when there is no room — no breakpoint.
| Class | Effect | Type |
|---|---|---|
.hero | A wrapping row: content and media. | root |
.hero-primary.hero-neutral.hero-info.hero-success.hero-warning.hero-error | Sets color, one class per value. | axis color |
.hero-xs.hero-sm.hero-md.hero-lg.hero-xl | Sets size, one class per value. | axis size |
.hero-center | Written by the center prop. | flag |
.hero-reverse | Written by the reverse prop. | flag |
.hero-actions | The calls to action. | part |
.hero-body | The sentence. | part |
.hero-content | Title, body and actions. | part |
.hero-media | An image, a video, an illustration. | part |
.hero-title | The heading. | part |