zebra-striped responsive table.
| Feature | Free | Pro |
|---|---|---|
| Pages | 10 | Unlimited |
| Custom domain | — | ✓ |
| Support | Community | Priority |
Install
From your site folder, run:
jprot add StripedTableThat downloads the self-contained component into theme/components/StripedTable.js,
where it is picked up automatically — the same way as any built-in component.
To remove it later, just delete that file.
Use it as a homepage section
Add an entry to the sections: list in jprot.config.js:
sections: [
{ component: 'StripedTable', title: 'StripedTable' },
]Use it inside a page
On its own line in any Markdown file, passing the props:
:::StripedTable headers='["Feature","Free","Pro"]' rows='[["Pages","10","Unlimited"],["Custom domain","—","✓"],["Support","Community","Priority"]]'Props
| Prop | Type | Note |
|---|---|---|
headers | array | column names |
rows | array | array of arrays |