just the stars plus a numeric score, for app-store rows.

Live preview

4.8· 231 reviews

Install

From your site folder, run:

jprot add ReviewStars

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

Use it inside a page

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

:::ReviewStars score="4.8" total="231 reviews"

Props

PropTypeNote
scorestringnumeric rating
totalstringreview count label

↩ Back to all elements