Add Testimonials to Next.js

Add testimonials to a Next.js site with a client component, or render them on the server from the REST API.

N
Add testimonials to Next.js

How to Embed Testimonials on Next.js

1

In VideoTestimonials, open Studio → Widgets, open (or create) a widget, and copy the code from its Code tab (HTML / Script)

2

Create a 'use client' component that renders the <div data-vt-widget …> and appends embed.js in a useEffect

3

Use the component on any page — or fetch testimonials from the REST API in a Server Component

Why Add Testimonials to Next.js?

A small client component that works with client-side navigation

Server-rendered testimonials through the REST API

Works with the App Router and the Pages Router

Start building trust today

Add testimonials to Next.js.
In under 5 minutes.

Create your widget, copy the embed code, and paste it on your Next.js site. No coding required.

Free forever plan
No credit card required
Cancel anytime