Skip to main content

Install

npm install @ethioreview/review-widget-react @ethioreview/review-widget-core

Basic usage

import { ReviewWidget } from "@ethioreview/review-widget-react";

export function Testimonials() {
  return (
    <ReviewWidget
      baseUrl="https://api.ethioreview.com"
      publicKey="pk_live_YOUR_KEY"
      businessId="YOUR_ORG_PROFILE_ID"
      minStars={4}
      limit={5}
    />
  );
}

With registered widget

<ReviewWidget
  baseUrl="https://api.ethioreview.com"
  publicKey="pk_live_YOUR_KEY"
  widgetId="widget_abc"
/>

Components

ExportPurpose
ReviewWidgetFull widget (rating + list)
TestimonialCardSingle review card with link
RatingSummaryAggregate rating header
ReviewListList of testimonial cards
Each review includes reviewUrl for navigation to EthioReview. Next.js SSR →