big centered pull-quote with star rating above.

Live preview

★★★★★
“Simple, fast, and we actually understand the codebase we ship.”
Diego M. — Founder, Fieldnotes

Install

From your site folder, run:

jprot add QuoteBlock

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

Use it inside a page

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

:::QuoteBlock quote="Simple, fast, and we actually understand the codebase we ship." author="Diego M." role="Founder, Fieldnotes" stars=5

Props

PropTypeNote
quotestringthe quote
authorstringspeaker
rolestringtitle/company
starsnumber1-5

↩ Back to all elements