Rating strip
A compact trust bar: gold stars, a score, how many reviews it is based on and a link to read them. Sits in a rounded tinted box, in one row on desktop. Use it under a hero or above a form to give a quick, honest signal of reputation. Only use real figures you can point to.
<section class="blk-section blk-rating-wrap" aria-labelledby="blk-rating-title">
<div class="blk-container">
<div class="blk-rating">
<p class="blk-rating__stars" role="img" aria-label="Rated 4.9 out of 5 stars">★★★★★</p>
<div class="blk-rating__text">
<h2 id="blk-rating-title">4.9 out of 5</h2>
<p>Based on 120 verified client reviews.</p>
</div>
<a class="blk-btn blk-btn--outline" href="#">Read the reviews</a>
</div>
</div>
</section>.blk-rating-wrap { padding-block: clamp(28px, 4vw, 44px); }
.blk-rating { display: flex; flex-direction: column; align-items: center; gap: 14px 28px; padding: 26px 24px; text-align: center; background: var(--blk-band-a); border-radius: var(--blk-radius-xl); }
.blk-rating__stars { font-size: 1.9rem; letter-spacing: 4px; line-height: 1; color: var(--blk-highlight); }
.blk-rating__text h2 { font-size: 1.5rem; }
.blk-rating__text p { color: var(--blk-muted); font-size: .96rem; }
@media (min-width: 800px) {
.blk-rating { flex-direction: row; justify-content: center; text-align: left; padding-inline: 40px; }
}How to customise it
- Use a real score and review count, and link to the page where they can be checked.
- The stars are decoration with a text label. Change the
aria-labelto match the score. - Swap the tint with
--blk-band-bor--blk-band-cinblock.css. - On a phone the parts stack and centre.
Tokens it reads
--blk-band-a--blk-highlight--blk-accent--blk-heading--blk-muted--blk-radius-xl--blk-font-headingAdd the "Rating strip" block from Product Scope Blocks (https://resources.productscope.uk/blocks/blocks/rating-strip) to my page. Link https://resources.productscope.uk/blocks/blocks/kit/blocks.css once. Paste the HTML from https://resources.productscope.uk/blocks/blocks/kit/blocks/rating-strip.html and replace the placeholder text with my real content. Do not change the class names, add inline styles or add scripts. To change colours or fonts, override the --blk- variables in my own CSS. Do not invent facts, clients or numbers.