[Integrations / React]
Testimonial Components for React Apps
Embed a testimonial widget in any React project. No npm package to install, just an iframe or script tag.Start free
[01 / Steps]
How it works
Create a collection
Sign up, create a testimonial collection, and choose a layout.
Copy the embed code
Grab the script tag or iframe snippet from your dashboard.
Add it to your component
Paste the iframe into any JSX file. For the script approach, load it in a useEffect or via next/script.
// Option A: iframe (simplest)
export function Testimonials() {
return (
<iframe
src="https://testimoniq.com/YOUR_COLLECTION_SLUG/widget?embed=true"
style={{ width: '100%', border: 'none', minHeight: 400 }}
title="Testimonials"
/>
);
}
// Option B: script tag via next/script (auto-resizes to fit)
import Script from 'next/script';
export function Testimonials() {
return (
<>
<div id="testimoniq-widget" />
<Script
src="https://testimoniq.com/embed.js"
data-collection="YOUR_COLLECTION_SLUG"
strategy="lazyOnload"
/>
</>
);
}[02 / Included]
What you get
- Works with React, Next.js, Remix, Gatsby, and Vite
- Embed via iframe or script tag, no npm dependency
- Video & text testimonials
- 11 responsive layouts
- Auto-resize to fit container width
- SSR-friendly, renders in any environment
[03 / Elsewhere]
Other integrations
- ShopifyDrop the widget into your theme so proof sits next to products and plans.
- WordPressPaste an HTML block. Approved quotes update without another theme edit.
- WebflowOne Embed component. Match your site colors in the Testimoniq desk.
- FramerCustom code component with a live wall that refreshes on approval.
- SquarespaceCode Block on any page. Same layouts as everywhere else.
Ship social proof in your next deploy
Free plan available. No credit card required.