flat numbered row for 2-4 stage processes.

Live preview

  1. 1

    Idea

  2. 2

    Draft

  3. 3

    Build

  4. 4

    Ship

Install

From your site folder, run:

jprot add StepsHorizontal

That 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

PropTypeNote
itemsarray[{ title, text? }]

↩ Back to all elements