flat numbered row for 2-4 stage processes.
-
1
Idea
-
2
Draft
-
3
Build
-
4
Ship
Install
From your site folder, run:
jprot add StepsHorizontalThat downloads the self-contained component into theme/components/StepsHorizontal.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: 'StepsHorizontal', title: 'StepsHorizontal' },
]Use it inside a page
On its own line in any Markdown file, passing the props:
:::StepsHorizontal items='[{"title":"Idea"},{"title":"Draft"},{"title":"Build"},{"title":"Ship"}]'Props
| Prop | Type | Note |
|---|---|---|
items | array | [{ title, text? }] |