a flush horizontal band of big numbers.

Live preview

120+
Projects
9y
Experience
30+
Open source

Install

From your site folder, run:

jprot add StatsBand

That downloads the self-contained component into theme/components/StatsBand.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: 'StatsBand', title: 'StatsBand' },
]

Use it inside a page

On its own line in any Markdown file, passing the props:

:::StatsBand items='[{"value":"120+","label":"Projects"},{"value":"9y","label":"Experience"},{"value":"30+","label":"Open source"}]'

Props

PropTypeNote
itemsarray[{ value, label }]

↩ Back to all elements