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

plan-table

Plans as one ruled comparison table: a row per plan, a column per fact.

View as JSON

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

From Harbor tides › pricingquaypointOpen the frame
pages/harbor/pricing.json, section 2
{
  "kind": "section",
  "shell": { "inset": "contained", "density": "section" },
  "block": {
    "type": "plan-table",
    "title": "Every plan, fact by fact",
    "columns": ["Calls a month", "Days ahead", "Windows", "Alerts"],
    "rows": [
      {
        "name": "Deck",
        "cells": ["1,000", "14", "no", "no"]
      },
      {
        "name": "Bridge",
        "cells": ["50,000", "14", "yes", "yes"]
      },
      {
        "name": "Harbor",
        "cells": ["1,000,000", "30", "yes", "yes"]
      }
    ]
  }
}

Smallest that parses

{
  "type": "plan-table",
  "title": "Every plan, fact by fact",
  "columns": ["Calls a month"],
  "rows": [
    {
      "name": "Deck",
      "cells": ["1,000"]
    }
  ]
}

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
columns1–6 × string ≤16yes
rows1–8 × objectyes
rows[].namestring ≤24yes
rows[].cells1–6 × string ≤32yes
rows[].notestring ≤40no
footstring ≤160no

Use instead

  • pricing: one to four plans to choose from