Rating Badge

A star rating badge with a numeric value and review text for social proof sections.

4.9from 200+ reviews

Installation

Adds the component and everything it depends on to your project.

npx shadcn add https://ui.beste.co/component/r-base/badge12

New here? Read the installation guide.

Usage

The import and the props worth knowing about, in one place.

import { Badge12 } from "@/components/beste/component/badge12";

<Badge12 value={4.9} text="from 200+ reviews" />

<Badge12
  value={5}
  tone="primary"    // "amber" (default) | "primary" | "foreground"
  showValue={false} // stars only
  text="Rated 5 stars on G2"
/>

Playground

Turn the props on the right; the snippet under them is what you would write to get what you see.

4.9from 200+ reviews
Usage
import { Badge12 } from "@/components/beste/component/badge12";

<Badge12
  text="from 200+ reviews"
/>

Props

Read from the component's own type, so this cannot drift from what it accepts.

PropTypeDefaultDescription
valuenumberRating value, 0–5
textstringMuted context after the stars (e.g. "from 200+ reviews")
showValuebooleanShow the numeric value next to the stars
tone"amber" | "primary" | "foreground"Star color
classNamestringAdditional classes merged onto the root

More Badge components

View all Badge
Loved by 2,400+ founders

Testimonial Badge

A testimonial badge with an avatar stack, star rating, and social proof text for hero sections.

12k+active users

Stat Badge

A stat badge with an icon, bold value, and label for quick hero metrics.

Est. 2019, Berlin

Barcode Badge

A decorative barcode badge with a monospace caption for editorial and print inspired sections.

Selin AksoyProduct Designer

Profile Badge

A profile badge with avatar, name, and role for author and team credits.

BrandingWeb designMotion3D

Tag Group Badge

A tag group badge that renders wrapping chips for services, skills, and topics.

+12.4%vs last month

Trend Delta Badge

A metric delta badge with trend arrows for dashboards, stat rows, and pricing tables.

Markdown version