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

closing

The final call of a page: a head, then buttons or one command, never both.

View as JSON

Carried by the api-product and article Templates. Seen on pages/harbor/home.json, section 12.

Variant
From Harbor tides › homequaypointOpen the frame
pages/harbor/home.json, section 12
{
  "kind": "closing",
  "shell": { "inset": "contained", "density": "closing" },
  "block": {
    "type": "closing",
    "layout": "stack",
    "head": { "eyebrow": "Free to start", "title": "Ask for your berth.", "lede": "A harbor master adds any berth in the harbor within one working day." },
    "actions": [
      { "href": "/contact", "label": "Talk to the harbor", "kind": "solid" }
    ]
  }
}

Smallest that parses

{
  "type": "closing",
  "head": { "eyebrow": "Free to start", "title": "Ask for your berth." }
}

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"stack" | "split"no
headobjectyes
head.eyebrowstring ≤28yes
head.titlestring ≤72no
head.ledestring ≤300no
head.maxstring (pattern)no
head.ledeMaxstring (pattern)no
head.balancebooleanno
head.scale"compact" | "large"no
head.tagstring ≤8no
head.layout"split"no
specimenobjectno
specimen.panel"none" | "field"no
specimen.blocks1–3 × Section type (nested)yes
fine0–4 × string ≤72no
stats0–4 × objectno
stats[].valuestring ≤6yes
stats[].labelstring ≤24yes
actions0–2 × objectno
actions[].hrefstring ≤160yes
actions[].labelstring ≤24yes
actions[].kind"solid" | "ghost"yes
actions[].iconicon or mark name (52)no
actions[].externalbooleanno
commandstring ≤40no

Use instead