Skip to content
Viewership Inquire
Astro UI

Hero Index.

Oversized left-aligned headline over a ruled row of facts. Type-led, no media.

HeroSection1 dependency Original, MIT

.md

Twelve years, one repair bench.

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

Repair promise on every pack
12 yr
Small batches a year
40
Average repair turnaround
2 days
Single-use shells
0
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 HeroIndex.astro

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

  3. Copy its dependencies

    Each in its own folder, next to this one.

  4. Use it

    Page.astro
    ---
    import HeroIndex from "../components/viewership/hero-index/HeroIndex.astro";
    ---
    
    <HeroIndex />

Props 7

PropTypeDefaultDescription
title string · Headline.
accent string · Closing words of the headline, drawn in the theme's accent style.
body string · Supporting paragraph, set in the right half on wide screens.
primary { label: string; href: string } · Main call to action.
secondary { label: string; href: string } · Quieter second action.
facts { value: string; label: string }[] [] Figures under the headline.
as "h1" | "h2" "h1" Heading element.

Source 1 file

Original, MIT.