Add Testimonials to React
Add testimonial widgets to a React app with the embed script, an iframe, or the REST API.
R

How to Embed Testimonials on React
1
In VideoTestimonials, open Studio → Widgets, open (or create) a widget, and copy the code from its Code tab (HTML / Script)
2
Render the <div data-vt-widget …> from the code inside your component — data-* attributes pass through JSX unchanged
3
Load embed.js after the div mounts, for example by appending the script tag in a useEffect
Why Add Testimonials to React?
No npm dependency — one div and one script tag
An iframe option when you'd rather not load a third-party script
A REST API for rendering testimonials with your own components
