dot + label state pill for services, uptime or availability.
Install
From your site folder, run:
jprot add StatusBadgeThat downloads the self-contained component into theme/components/StatusBadge.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: 'StatusBadge', title: 'StatusBadge' },
]Use it inside a page
On its own line in any Markdown file, passing the props:
:::StatusBadge label="Operational" tone="ok"Props
| Prop | Type | Note | |||
|---|---|---|---|---|---|
label | string | badge text | |||
tone | string | ok \ | warn \ | bad \ | idle |