graph-like mini card with a score/percent ring bar.

Live preview

Uptime

%
99.9

Across all regions.

Install

From your site folder, run:

jprot add CardFeature

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

Use it inside a page

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

:::CardFeature title="Uptime" text="Across all regions." value="99.9" unit="%"

Props

PropTypeNote
titlestringmetric name
textstringnote
valuestringbig number
unitstringsuffix (%, ms…)

↩ Back to all elements