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

faq

A heading beside questions that open in place, every one closed at first.

View as JSON

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

Variant
From Harbor tides › pricingquaypointOpen the frame
pages/harbor/pricing.json, section 3
{
  "kind": "section",
  "shell": { "inset": "contained", "density": "section" },
  "block": {
    "type": "faq",
    "head": { "eyebrow": "Questions", "title": "Before you choose." },
    "items": [
      { "q": "What counts as a call?", "a": "One request to any route. A tide table for 14 days is one call." },
      { "q": "What happens past the limit?", "a": "Calls past the month’s limit return 429 until the month turns. Nothing is billed past the plan." },
      { "q": "Can I change plans?", "a": "Yes, at any time. The new limit applies from the next call." }
    ]
  }
}

Smallest that parses

{
  "type": "faq",
  "head": { "eyebrow": "Questions", "title": "Before you choose." },
  "items": [
    { "q": "What counts as a call?", "a": "One request to any route. A tide table for 14 days is one call." },
    { "q": "What happens past the limit?", "a": "Calls past the month’s limit return 429 until the month turns. Nothing is billed past the plan." },
    { "q": "Can I change plans?", "a": "Yes, at any time. The new limit applies from the next call." }
  ]
}

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
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
items1–10 × objectno
items[].qstring ≤64yes
items[].astring ≤420yes
groups1–4 × objectno
groups[].titlestring ≤24yes
groups[].items1–6 × objectyes
groups[].items[].qstring ≤64yes
groups[].items[].astring ≤420yes

Use instead