Skip to content

Google reviews card

A Google reviews summary block: average star rating, review count and breakdown, expandable recent reviews and a link to leave a review, with schema.org structured data.

  • Tailwind
  • React
  • CSS
  • WordPress
Open in a new tab

Description

The rating, breakdown and reviews are readable without JavaScript; once the script loads, older reviews and the end of long ones expand on demand, with aria-expanded and focus moved to the first revealed review. The JSON-LD markup (LocalBusiness, AggregateRating, Review) mirrors the figures shown exactly. Replace both links with your Google listing's. Google does not show stars in its results for reviews a business publishes on its own site, but the markup stays valid and useful to other engines.

Code

Loading the code…

The code of this component in

Archive contents

carte-avis-google-html-tailwind.zip3 files · 6 Ko

  • index.html27 Ko
  • README.md3 Ko
  • LICENSE.md1 Ko

Tags

Updated on December 2, 2026.

Reviews

No reviews yet.

In the same spirit

  • A mobile page to link from your social profiles: portrait, name, priority links (booking, WhatsApp, website, reviews, call), opening hours with an open or closed status, social links and a share button, in dependency-free HTML and CSS.

    • Tailwind
    • React
    • CSS
    • WordPress
    Component
  • A single-plan pricing card: struck-through price and discount, a places-left gauge driven by a data attribute, the list of everything included and a booking button that turns into a waiting list once sold out.

    • Tailwind
    • React
    • CSS
    • WordPress
    Component
  • Three treatment cards in accessible neumorphism: gently raised surfaces, buttons that sink in when activated, a light/dark switch for the block itself. 3:1 outlines and AA text kept.

    • Tailwind
    • React
    • CSS
    • WordPress
    Component
  • Four fully clickable workshop cards in a neo-brutalist style: thick border, solid offset shadow and a card that sinks onto its shadow on hover or focus. Pastel tones, dark mode, no JavaScript.

    • Tailwind
    • React
    • CSS
    • WordPress
    Component