Two lines
Testimonials on React or Next.js
A div and a script appended once, in an effect.
Paste these two lines
<script src="https://getkudobox.com/widget/YOUR-SLUG.js" async></script>
<div id="kudobox-wall"></div>Your slug is in your dashboard, with the tag ready to copy.
Where they go
- Render <div id="kudobox-wall" /> where the testimonials belong.
- In a useEffect that runs once, create a script element with the widget's src and append it to the container.
- Remove it in the effect's cleanup so a fast refresh does not append it twice.
- In Next.js you can use next/script with strategy="afterInteractive" instead, which does the same thing.
Choosing the layout
The tag above draws a wall. Adding ?template= to the src changes it to any of the 23 — a marquee, a rating badge, a single pull quote — without touching your page again.
Somewhere else
WordPressA Custom HTML block, anywhere in the page.ElementorThe HTML widget, dragged where you want it.ShopifyA Custom Liquid section on the page or the product template.WebflowAn Embed element, sized as you like.SquarespaceA Code block, on the plans that allow custom code.WixThe “Embed HTML” element.
Collect one, and put it on React or Next.js
A form link, a customer who writes for a minute, and two lines on your page.
Start collecting