Product Hunt → React or Next.js
Add Product Hunt reviews to a React or Next.js site
Bring your Product Hunt reviews into Kudobox with the link to each one, approve them, and paste two lines into a React or Next.js site. A review on Product Hunt works for you on Product Hunt; on your own pages it works where visitors decide, and every card links back to the original.
In three steps
Bring the Product Hunt reviews across
A review or a comment on your launch, with its link. Paste the words and that link into Kudobox with the source set to “Product Hunt”. Or select the review on Product Hunt and press the Save to Kudobox bookmark, from your dashboard's tools: the source is chosen for you and the page's address comes with it. A spreadsheet of them uploads in one go, its columns read by their names.
Read, then approve
Each one is read for risk exactly like a testimonial written to you — a promised result, a figure, somebody's private detail — and waits in Pending until you approve it. The words themselves are never edited.
Paste two lines into React or Next.js
A div and a script appended once, in an effect. The widget shows only what you approved, and only what may be shown on a website, and each card says “Originally posted on Product Hunt” with the link to the original.
Where the two lines go in React or Next.js
<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.
- 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.
About Product Hunt reviews
Layouts that suit Product Hunt reviews
Product Hunt reviews are read for what they say, so these three lead with the words rather than a score.
What will not happen to them
- The words will not be edited. Not tidied, not shortened, not improved — by you, by us, or by a model.
- The source will not be dropped: every card says it was originally posted on Product Hunt, with the link where you gave one.
- Nothing will be fetched from Product Hunt for you — you are the one who decides each may be republished.
- Nothing is public until you approve it, and one the reading flagged tells you why before you decide.
Product Hunt reviews on other builders
Put your Product Hunt reviews on a React or Next.js site
Free for up to 15 testimonials, with all 23 layouts and the hosted wall included.