Skip to content

Review summary

An average rating with stars, the number of reviews and a distribution of 5 to 1 stars.

Reviews

4.7212 reviews
  • 5 ★
    168
  • 4 ★
    30
  • 3 ★
    8
  • 2 ★
    4
  • 1 ★
    2

Installation

Everything ships in one stylesheet. There is nothing to import per component.

<link rel="stylesheet" href="https://mian.ro/dist/mian.css">

Prefer to own the files? /r/review-summary.json is a registry item with this component's CSS and example markup, ready to copy into your project with any tool that reads the open registry-item format.

Class reference

Class / attributeDescription
mn-starsStars filled to --_v (e.g. 94% for 4.7 of 5). Use anywhere, with role="img" and a label.
mn-reviewsThe summary: mn-reviews-score and mn-reviews-bars.
mn-reviews-barsDistribution rows: label, a small progress bar, count.

Accessibility

  • Stars are an image: give them role="img" and aria-label="4.7 out of 5 stars".
  • Each distribution bar has a label and count in text.
Choose a noodle

Minimal

Flat

Pixel

Linear

Thin

Glass

Textured

Bold

Elegant

Rounded

On this page