Skip to main content
BlooTrue
no code neededunlimited viewsfree forever

Free App Store Review Widgets for Next.js / React

Embed App Store reviews on any Next.js / React page in 60 seconds — next/script component, paste, save. Your iPhone app's App Store rating and reviews, from the store country you choose.

Build Your App Store Review Widget

App Store

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

App Store reviews on a Next.js app site

Teams that ship an iPhone app often build its marketing site in Next.js. The App Store widget goes in like any third-party script, through next/script, and the choices that matter are which store country to show and which route gets it.

How do I add the App Store widget to a Next.js route?

Load the BlooTrue script once in app/layout.tsx with next/script and the afterInteractive strategy, then place the widget div on the landing route beside your Download on the App Store badge. Rename class to className, since JSX drops class.

The loader watches the DOM, so the widget survives client-side navigation between routes.

We localise the site per country. One widget or several?

Several, if the routes are per country. Apple keeps a separate rating for each storefront, so build one widget from the apps.apple.com/us link for the US route and one from the /de link for the German route, and each page shows the score its visitors will find in their own store.

Example

A fintech startup with a Next.js site in three languages

Each locale route renders its own App Store widget built from that country's store link, next to the badge.

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 App Store 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

The same widget, built from whichever platform your reviews live on. Free plan on every one.

Reviews on more than one platform? Blend them into one widget

How to Add App Store Reviews to Next.js / React

Connect your App Store 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 ComponentApp Store: Ratings, reviews, and responses

App Store Review Widget for Next.js / React — Free, No Plugin

Embed App Store reviews on any Next.js / React page with a single copy-paste embed code. Your iPhone app's App Store rating and reviews, from the store country you choose. Installs via the next/script component.

Where App Store reviews help most on Next.js / React

Hand-built app sites often route visitors by device: a smart banner for iPhone users, a QR code for desktop visitors, a Play link for Android.

Hook the App Store widget into the same logic. On iPhone and iPad, show it under the hero next to the App Store badge; on desktop, place it beside the QR code, since that visitor installs from the phone in their other hand. Pass the store country your marketing targets when you build the widget, or make one per localised country page. Pages for existing users, such as account settings and the changelog, can skip it.

About App Store reviews in this widget

The App Store widget shows your iPhone or iPad app's star rating out of 5, its rating count and the written reviews from your App Store product page. Apple keeps one summary rating per country or region, so the same app can carry one score in the US store and another in Canada; the widget reads the store country in the link you paste. The header is Apple's figure for that store, never an average of the cards. A developer who resets the summary rating with a new version sees the new figure there, while the written reviews stay.

App Store Widget on Next.js / React — FAQ

Is the BlooTrue App Store review widget free for Next.js / React?
Yes. BlooTrue is completely free to embed App Store reviews on Next.js / React. No plugin, no recurring fee, unlimited views. The free plan shows your reviews with BlooTrue branding in the footer; paid plans remove the branding.
How do I install the widget on Next.js / React?
In app/layout.tsx import Script from next/script and add the BlooTrue loader once inside the body, with strategy set to afterInteractive. Drop the widget div into any page or component where the reviews should appear. Change class to className on that div — the snippet is HTML and JSX will not accept class. Deploy. The loader watches the DOM, so the widget survives client-side navigation too.
Anything specific to Next.js / React worth knowing before I embed?
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 should I place App Store reviews on Next.js / React for the biggest lift?
Under the hero on the landing page and beside the pricing CTA — on SaaS and agency sites the proof belongs at the decision point.
Do the reviews stay up to date automatically?
Paid plans auto-sync your App Store reviews daily, so the widget always shows your latest 5-star reviews without touching Next.js / React again. The free plan shows the reviews imported at setup.
Which App Store link do I paste, and can I use the app id instead?
Either works. Paste your product page link from apps.apple.com, such as apps.apple.com/us/app/your-app/id123456789, or only the number after id. The two letters after apps.apple.com pick the store country, so a link with /ca/ shows your Canadian rating and reviews. A bare id uses the US store.
Why does the widget show a different rating from the one on my iPhone?
Your phone opens the App Store of the country your Apple account belongs to, and Apple keeps a separate summary rating for each country or region. The widget shows the store in the link you pasted. If most of your customers are in one country, paste that country's link so the score matches what they see.
We reset our summary rating with the last release, what does the widget show now?
The header follows the summary rating Apple shows for that store, so after a reset it carries the new figure and the smaller count once the widget refreshes, which paid plans do every day. A free widget keeps the figure from the day it was made. Apple keeps the written reviews after a reset, so they stay in the widget.

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

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

Free App Store Review Widget

What BlooTrue customers say