numbered "do this first" tips for tutorials and onboarding.
Install
From your site folder, run:
jprot add HintListThat downloads the self-contained component into theme/components/HintList.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: 'HintList', title: 'HintList' },
]Use it inside a page
On its own line in any Markdown file, passing the props:
:::HintList items='["Read the quick start first.","Run jprot init in an empty folder.","Save, then refresh the browser."]'Props
| Prop | Type | Note |
|---|---|---|
items | array | tip strings |
title | string | optional heading |