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

facts

Labels and values a buyer decides on, as one ruled list.

View as JSON

Carried by the directory-product Template. Seen on pages/harbor/integrations/chartplot.json, section 2.

From Harbor tides › integrations/chartplotquaypointOpen the frame
pages/harbor/integrations/chartplot.json, section 2
{
  "kind": "section",
  "shell": { "inset": "contained", "density": "section" },
  "block": {
    "type": "facts",
    "title": "At a glance",
    "items": [
      { "label": "Reads", "value": "Tides, windows and alerts" },
      { "label": "Updates", "value": "Every 6 minutes" },
      { "label": "Plotters", "value": "NMEA 2000 and Signal K" },
      { "label": "Package", "value": "harbor-tides-chartplot", "code": true }
    ]
  }
}

Smallest that parses

{
  "type": "facts",
  "title": "At a glance",
  "items": [
    { "label": "Reads", "value": "Tides, windows and alerts" }
  ]
}

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
titlestring ≤48no
items1–16 × objectyes
items[].labelstring ≤24yes
items[].valuestring ≤80yes
items[].hrefstring ≤160no
items[].codebooleanno

Use instead

  • stats: three or four big numbers