dot-matrix value grid (shares, milestones, leaders).
Install
From your site folder, run:
jprot add DotGridThat downloads the self-contained component into theme/components/DotGrid.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: 'DotGrid', title: 'DotGrid' },
]Use it inside a page
On its own line in any Markdown file, passing the props:
:::DotGrid label="Traffic" value="42" max="60"Props
| Prop | Type | Note |
|---|---|---|
label | string | caption |
value | number | filled dots |
max | number | total dots |