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

feature-grid

A section head over a hairline grid of two, three, four, six or eight cells.

View as JSON

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

Count
From Harbor tides › homequaypointOpen the frame
pages/harbor/home.json, section 3
{
  "kind": "section",
  "shell": { "inset": "contained", "density": "section" },
  "block": {
    "type": "feature-grid",
    "head": { "eyebrow": "One call returns", "title": "The whole tide, per berth." },
    "cellHead": "icon",
    "items": [
      { "icon": "waves", "title": "High and low water", "text": "Times and heights for 14 days, at the berth itself." },
      { "icon": "anchor", "title": "Keel clearance", "text": "The hours a given draft clears, from the charted depth." },
      { "icon": "map-pin", "title": "Datum named", "text": "Every height names its chart datum." }
    ]
  }
}

Smallest that parses

{
  "type": "feature-grid",
  "cellHead": "icon",
  "items": [
    { "title": "High and low water" },
    { "title": "Keel clearance" }
  ]
}

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
headobjectno
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
asideobjectno
aside.commandstring ≤12yes
aside.notestring ≤40yes
cellHead"label" | "icon-index" | "icon-label" | "icon" | "none"yes
densebooleanno
items2–8 × objectyes
items[].iconicon or mark name (52)no
items[].labelstring ≤24no
items[].indexstring ≤2no
items[].titlestring ≤40no
items[].textstring ≤200no
items[].hrefstring ≤160no
items[].linkLabelstring ≤24no

Use instead