Skip to content
Viewership Inquire
Astro UI

Hero Statement.

Centred headline and actions above a wide media panel.

HeroSection1 dependency Original, MIT

.md

Gear for the long way round.

Tents, packs and layers cut in small batches, repaired for life and shipped from one warehouse in Duluth.

Layered mountain ridges at dusk
Style

Using Claude Code? Give it the agent prompt and skip these steps.

  1. Import the foundation once

    foundation.css holds the tokens every component reads.

    Layout.astro
    ---
    // src/layouts/Layout.astro
    import "../styles/foundation.css";
    ---
  2. Copy HeroStatement.astro

    Paste into src/components/viewership/hero-statement/

  3. Copy its dependencies

    Each in its own folder, next to this one.

  4. Use it

    Page.astro
    ---
    import HeroStatement from "../components/viewership/hero-statement/HeroStatement.astro";
    ---
    
    <HeroStatement />

Props 7

PropTypeDefaultDescription
title string · Headline.
accent string · Closing words of the headline, drawn in the theme's accent style (<em>).
body string · Supporting paragraph.
primary { label: string; href: string } · Main call to action.
secondary { label: string; href: string } · Quieter second action.
as "h1" | "h2" "h1" Heading element.
slot: media slot · Image, video or rendered visual, cropped to 16:7.

Source 1 file

Original, MIT.