← All integrations⚛️
React testimonial widget integration
Load TestiFlow via script tag or iframe. Full React SDK coming soon—iframe works in any CRA or Vite app today.
How to integrate
- 1
Add script to index.html
Place the embed.js script in public/index.html or use useEffect to inject it.
- 2
Mount display
Call TestimonialWidget.displayTestimonials(containerId, options) after load.
- 3
Or use iframe
For isolation, embed /embed/w/{siteId} in a React iframe component.
Sample embed code
Replace your-site-id with your site ID from the dashboard.
<script src="https://cdn.jsdelivr.net/npm/iframe-resizer@4.3.9/js/iframeResizer.min.js"></script>
<iframe
id="testiflow-wall-your-sit"
src="https://testiflow.site/embed/w/your-site-id?theme=saas&layout=grid"
title="TestiFlow Wall of Love"
style="width:100%;border:0;min-height:400px"
loading="lazy"
allow="autoplay"
></iframe>
<script>
iFrameResize({ log: false, checkOrigin: false }, '#testiflow-wall-your-sit');
</script>