Review form

A client review form with a CSS-only star rating (a radio group that fills left to right), text fields, a consent tick and a submit button, inside a bordered card. Use it on a page where clients leave a review or feedback. Point the form action at your own form service; the stars work without JavaScript.

← All blocks
Theme
Fonts
Width
HTML
<section class="blk-section blk-reviewform-band" aria-labelledby="blk-reviewform-title">
  <div class="blk-container">
    <header class="blk-head">
      <div class="blk-head__main">
        <h2 id="blk-reviewform-title">Leave a review</h2>
        <p>Two minutes is all it takes. Your feedback helps others decide.</p>
      </div>
    </header>
    <form class="blk-form" action="#" method="post">
      <fieldset class="blk-field blk-stars">
        <legend>Your rating</legend>
        <div class="blk-stars__row">
          <input type="radio" id="blk-star5" name="rating" value="5" required><label for="blk-star5"><span aria-hidden="true">&#9733;</span><span class="blk-sr">5 stars</span></label>
          <input type="radio" id="blk-star4" name="rating" value="4"><label for="blk-star4"><span aria-hidden="true">&#9733;</span><span class="blk-sr">4 stars</span></label>
          <input type="radio" id="blk-star3" name="rating" value="3"><label for="blk-star3"><span aria-hidden="true">&#9733;</span><span class="blk-sr">3 stars</span></label>
          <input type="radio" id="blk-star2" name="rating" value="2"><label for="blk-star2"><span aria-hidden="true">&#9733;</span><span class="blk-sr">2 stars</span></label>
          <input type="radio" id="blk-star1" name="rating" value="1"><label for="blk-star1"><span aria-hidden="true">&#9733;</span><span class="blk-sr">1 star</span></label>
        </div>
      </fieldset>
      <div class="blk-field">
        <label for="blk-rv-name">Your name</label>
        <input id="blk-rv-name" name="name" type="text" autocomplete="name" required>
      </div>
      <div class="blk-field">
        <label for="blk-rv-email">Email <span class="blk-field__hint">(never published)</span></label>
        <input id="blk-rv-email" name="email" type="email" autocomplete="email" required>
      </div>
      <div class="blk-field">
        <label for="blk-rv-service">What did we help with?</label>
        <select id="blk-rv-service" name="service">
          <option>Choose one</option>
          <option>Service one</option>
          <option>Service two</option>
          <option>Something else</option>
        </select>
      </div>
      <div class="blk-field">
        <label for="blk-rv-text">Your review</label>
        <textarea id="blk-rv-text" name="review" rows="6" required></textarea>
      </div>
      <div class="blk-field blk-field--consent">
        <input id="blk-rv-consent" name="consent" type="checkbox" required>
        <label for="blk-rv-consent">I am happy for this review to be published with my first name.</label>
      </div>
      <button class="blk-btn blk-btn--primary" type="submit">Send my review</button>
    </form>
  </div>
</section>