Alpha: Ships on npm at 7.0.0-alpha.07.0.0-alpha.0

hero

The opening of a page: headline, lede, actions, fine print and an optional preview window.

View as JSON

Carried by the api-product Template. Seen on pages/harbor/home.json, section 1.

Variant
From Harbor tides › homequaypointOpen the frame
pages/harbor/home.json, section 1
{
  "kind": "hero",
  "shell": { "inset": "contained", "density": "hero" },
  "block": {
    "type": "hero",
    "layout": "centered",
    "stack": 560,
    "title": "Every berth, every tide.",
    "lede": "One call returns the tide table for any berth in the harbor: the times, the heights and the window your keel clears.",
    "actions": [
      { "href": "/pricing", "label": "See the plans", "kind": "solid" },
      { "href": "/contact", "label": "Talk to the harbor", "kind": "ghost" }
    ],
    "fine": ["1,000 calls a month free", "Heights to the chart datum"]
  }
}

Smallest that parses

{
  "type": "hero",
  "layout": "centered",
  "stack": 560,
  "title": "Every berth, every tide.",
  "lede": "One call returns the tide table for any berth in the harbor: the times, the heights and the window your keel clears.",
  "actions": [],
  "fine": []
}

Props

From @mdxui/site@7.0.0-alpha.0. A count reads as min–max × item; a string bound is its maximum length in characters, and links its refusal.

PropType and boundRequired
layout"centered" | "split"yes
stack560 | 640yes
kickerobjectno
kicker.kind"eyebrow"yes
kicker.textstring ≤40yes
titlestring ≤64yes
ledestring ≤260yes
actions0–2 × objectyes
actions[].hrefstring ≤160yes
actions[].labelstring ≤24yes
actions[].kind"solid" | "ghost"yes
actions[].iconicon or mark name (52)no
actions[].externalbooleanno
commandobjectno
command.commandstring ≤40yes
command.notestring ≤48no
fine0–4 × string ≤72yes
specimenobjectno
specimen.panel"none" | "field"no
specimen.blocks1–3 × Section type (nested)yes

Use instead