Skip to main content
BlooTrue
no code neededunlimited viewsfree forever

Free Reviews.io Review Widgets for Next.js / React

Embed Reviews.io reviews on any Next.js / React page in 60 seconds — next/script component, paste, save. Your store's Reviews.io reviews, on your own website.

Build Your Reviews.io Review Widget

Reviews.io

Key facts: 60-second install on Next.js / React · free forever, no plugin needed · installs via the next/script component · no view caps on any plan · daily review auto-sync on paid plans · schema.org markup on paid plans

Last updated ·by Mike Ragimov

Reviews.io store reviews in a Next.js storefront

A headless Next.js storefront for a US coffee brand can show its Reviews.io store reviews on chosen routes.

How do I add it?

Load the script once in app/layout.tsx with next/script, afterInteractive; place the div per route.

Should the widget load on every Next.js route?

No, only where it helps a decision. For a coffee brand that means the cart and the subscription route, where buyers decide on beans they have not tasted. Load the script once in the layout and render the widget's div only on those routes. The widget fetches its own reviews, so the page build never waits for it.

Example

A coffee brand in Seattle

The cart route shows Reviews.io reviews about beans roasted to order. Buyers complete checkout.

SEO + AI schema · paid plans

Review schema markup, on paid plans

Paid widgets add schema.org Review and AggregateRating JSON-LD to the page they sit on, so search engines and AI answer engines can read your Reviews.io reviews as structured data. Google does not show review stars for reviews a business shows about itself, so the gain is readability, not stars. The free plan shows the reviews without the schema. See how the schema works

How to Add Reviews.io Reviews to Next.js / React

Connect your Reviews.io profile in BlooTrue, pick a style, then paste one embed code into the next/script component on Next.js / React and publish.

  1. 1

    In app/layout.tsx import Script from next/script and add the BlooTrue loader once inside the body, with strategy set to afterInteractive.

  2. 2

    Drop the widget div into any page or component where the reviews should appear.

  3. 3

    Change class to className on that div — the snippet is HTML and JSX will not accept class.

  4. 4

    Deploy. The loader watches the DOM, so the widget survives client-side navigation too.

A raw <script> tag pasted into a component will not execute, which is what next/script is for — and the snippet's class attribute has to become className or React drops it.

Where the Code Goes on Next.js / React

In a Next.js app the snippet splits in two. The loader goes in once, in app/layout.tsx, as a next/script component with strategy set to afterInteractive so it survives client-side navigation.

The div goes wherever the reviews belong, in any page or component. The one edit the pasted code needs is class becoming className, because the snippet is HTML and JSX will not accept class. The widget takes the width of its parent element, so a max-width wrapper is the usual way to size it.

If the widget does not show on Next.js / React

  • If nothing renders, check the div uses className rather than class — React silently drops the class attribute and the loader then finds nothing to mount.
  • A raw script tag pasted straight into a component will not execute. Use next/script with strategy afterInteractive instead.
  • If the widget shows on a hard refresh but not after in-app navigation, the loader was placed in a page rather than in the layout. Move it to app/layout.tsx so it mounts once for the whole app.

Still blank? Our help article Widget not showing covers the checks that apply on every site.

Official documentation: Next.js / React: Script Component

Reviews.io Review Widget for Next.js / React — Free, No Plugin

Embed Reviews.io reviews on any Next.js / React page with a single copy-paste embed code. Your store's Reviews.io reviews, on your own website. Installs via the next/script component.

Where Reviews.io reviews help most on Next.js / React

Teams that build a headless storefront or a custom app on Next.js / React can mount the Reviews.io widget in the components that carry trust: the home page hero section, the cart, and the account area where customers reorder.

The widget renders inside its container, so it can live on any route the router serves. Keep it away from the product detail component when product reviews are collected elsewhere, and give it a stable container height to avoid layout shift while it loads. One embed per route is enough; the same widget can appear on several routes without a second setup.

About Reviews.io reviews in this widget

The Reviews.io widget shows store reviews of one online store from its Reviews.io company page, with the rating and the review total Reviews.io shows for that store in the header. Reviewers who choose to stay private appear as Anonymous, as they do on Reviews.io, and each review links to its own page there. The builder needs the store's company reviews address; a store name Reviews.io does not know comes back empty, so the builder says the link was not found rather than making an empty widget.

Reviews.io Widget on Next.js / React — FAQ

Will it break server-side rendering?
No. The div is plain markup that renders on the server, and the widget fills it on the client once the loader runs.
Can shoppers check that a review is real?
Yes. Each review in the widget links to its own page on Reviews.io, so anyone can open the original and see it was posted there, with its date and rating.
Which Reviews.io link does the builder need?
Your store's company reviews page, in the form reviews.io/company-reviews/store/ followed by your store's name. Open your store's page on Reviews.io and copy the address. If the builder says the link was not found, check the store name in the address, since Reviews.io returns nothing for a name it does not know.

Ready to Put Reviews.io Reviews on Your Next.js / React Pages?

Free forever. No plugin. 100+ widget styles. Set up in 60 seconds.

Free Reviews.io Review Widget

What BlooTrue customers say