🎠 Trustpilot Reviews Carousel

Embeddable iframe widget for displaying customer reviews in an elegant carousel format

🚀 Open Source NPM Package:trustpilot-iframe-widget

🛠️ Iframe Configurator

Customize your reviews carousel and get the embed code

The domain to fetch reviews from (without https://)

🎨 Color Customization

Display Options

📺 Live Preview

📝 Embed Code

<iframe
  src="/?domain=www.google.com&theme=custom&autoHeight=true"
  width="100%"
  height="400"
  frameborder="0"
  scrolling="no"
  title="Trustpilot Reviews Carousel"
></iframe>

Copy this code and paste it into your website where you want the carousel to appear.

📍 Additional Examples

More examples with Google.com reviews using different configurations:

Iframe Code:

<iframe src="/?domain=google.com&theme=custom&maxReviews=5" width="100%" height="400" frameborder="0"></iframe>

🎨 Theme Examples

☀️ Light Theme

🌙 Dark Theme

🔧 Auto-Height Feature Demo

📏 Dynamic Height Adjustment

Watch how the iframe automatically adjusts its height based on content - no scrollbars needed!

❌ Traditional Fixed Height (with scrollbar)

Fixed 200px height - content may be cut off with scrollbars

✅ Auto-Height with iframe-resizer

Dynamic height - automatically adjusts to content size

💡 Implementation Tip

To enable auto-height functionality, you need to:

  1. Add autoHeight=true to your iframe URL
  2. Install and configure iframe-resizer on your parent page
  3. The iframe will automatically communicate its content height to the parent

⚙️ Configuration Options

Customize the carousel with these URL parameters:

ParameterTypeDefaultDescription
domain*string-Domain to fetch reviews for (required)
themelight|darklightVisual theme
maxReviewsnumber10Maximum reviews to display (1-50)
autoplaybooleantrueEnable automatic sliding
intervalnumber5000Autoplay interval (ms)
minRating1-51Minimum star rating to show
heightnumber400Height in pixels
autoHeightbooleanfalseEnable automatic iframe height adjustment (eliminates scrollbars)

🚀 Quick Integration

Copy and paste these examples to get started:

Basic Example

<iframe src="/?domain=google.com" width="100%" height="400" frameborder="0" scrolling="no"> </iframe>

Advanced Example

<iframe src="/?domain=google.com&theme=dark&maxReviews=8&minRating=4&autoplay=true&interval=4000" width="100%" height="450" frameborder="0" scrolling="no"> </iframe>

🎯 Try It Now

Currently showing reviews for "google.com" - change the domain in the configurator above to see different reviews

Trustpilot Reviews Carrousel