Skip to content

JPROT Catalog
Home All elements Install
JPROT CatalogHomeAll elementsInstall

On this page

InstallUse it as a homepage sectionUse it inside a pageProps
JPROT CatalogHomeAll elementsInstall

On this page

InstallUse it as a homepage sectionUse it inside a pageProps

StatsInline

compact inline numbers joined by thin separators.

Live preview

2.1k stars 40k downloads 98% would reuse

Install

From your site folder, run:

jprot add StatsInline

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

Use it inside a page

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

:::StatsInline items='[{"value":"2.1k","label":"stars"},{"value":"40k","label":"downloads"},{"value":"98%","label":"would reuse"}]'

Props

PropTypeNote
itemsarray[{ value, label }]

↩ Back to all elements

© 2026 JPROT Catalog