Gatsby Book Launch

“The missing guide to the modern web” launches on Thursday, Sep 29th: Modular: The Web’s New Architecture

ContactSign Up for Free
Community Plugin
View plugin on GitHub


Gatsby plugin to display your Trustpilot reviews on your website.

License Version Gatsby Version React Version


More informations in


Use this commmand npm i --save gatsby-plugin-trustpilot-trustbox or yarn install gatsby-plugin-trustpilot-trustbox


// In your gatsby-config.js
module.exports = {
  plugins: [
      resolve: `gatsby-plugin-trustpilot-trustbox`,
      options: {
        templateID: process.env.TRUSTPILOT_TEMPLATE_ID, // the value of `data-template-id`
        businessunitID: process.env.TRUSTPILOT_BUSINESSUNIT_ID, // the value of `data-businessunit-id`

Add import to your file :

import { TrustPilotBox } from 'gatsby-plugin-trustpilot-trustbox'

Add component to your file :

  • locale TrustBox locale, default ‘en-EN’
  • styleHeight TrustBox styleHeight, default ‘24px’
  • styleWidth TrustBox styleWidth, default ‘100%’
  • theme TrustBox theme (‘dark’, ‘light’), default ‘light’
  • minReviewCount TrustBox minReviewCount (null, 10, 20, 50), default ‘null’
  • defaultRevueURL TrustBox fallback link URL
  • defaultLabel TrustBox fallback link label
  • defaultClassName TrustBox fallback link className
© 2022 Gatsby, Inc.