Skip to content
Library

Widget: rating

A review score in a small card: the score as a large numeral, five stars that fill to it to the decimal, the number of reviews, where they are and one link to read them. Light or dark, medium or small.

ComponentWidgets

Live preview

Variant
Scheme
Width
Motion

Reviews

Rated by the people we work for

4.9

312 reviews

Reviews

Rated by the people we work for

4.9

312 reviews

Reviews

Rated by the people we work for

4.0

48 reviews

etchpress.com/library/widget-rating
Widget: rating

What you can build with it

A Google or Trustpilot score beside the hours and a stat in a bento band. Proof next to the booking form on a service page. A footer tile that links to the review profile. A dark tile in a light section, or the reverse.

Props

caption (text); title (text); score (text, such as 4.9: the stars fill to it, to the decimal); count (text); source (text, optional); linkLabel and linkHref (optional); tone (select: light, dark); size (select: medium, small)

States shown

Rest; the stars fill to the score (whole stars full; a fractional star is cut between a quarter and three quarters of its width, a half staying a half, so the fraction always shows) and read as one image for screen readers with the score in words; the link's hover, focus and press; dark tone stays dark in both schemes; small. Nothing moves under reduced motion.

How to change it

Content and options are 9 props in the component's settings panel. Colour, type, spacing and radius follow your Automatic.css settings, so a change to the site's palette or scale changes this too. For anything else, edit the classes in the Style Manager, starting with .widget, .widget-rating.

ACSS tokens used

space-s, space-xs, text-s, text-m, h2, radius, primary-dark, primary-light, warning, text-dark, text-dark-muted, text-light, text-light-muted, neutral-ultra-dark, white, black, box-shadow-1, focus tokens; –ep-font-mono with a fallback.

ACSS requirements

ACSS 4 defaults. Nothing to switch on. The stars take the warning colour when the site has one, the primary otherwise.

Version history

Version 1.0.0, September 30, 2026: First release, part of the widget family built under the component-systems contract.

Tested with

Etch 1.6.7 and ACSS 4.0.1. Version 1.0.0.

Lifetime members

Members copy this straight into Etch, ready to paste.

Used an earlier version? How to update it

Get lifetime access
Other builders

Want EtchPress for Bricks or the block editor?

Everything here is made for Etch. Pick the builder you use and leave your email: we write once, when EtchPress works there.

This field is required.