Etch component
Reviews 1
A reviews section: a heading, a lede, the link to all the reviews when the site gives one, the overall rating, a row of MAC Review Card 1 and the line that says they're a selection.
Documentation
A reviews section: a heading, a lede, the link to all the reviews when the site gives one, the overall rating, a row of MAC Review Card 1 and the line that says they're a selection.
How to use it
- Fill the headline and, if you like, the eyebrow and the lede.
- On a Romanian site, set CTA Type to single, with the link to all the reviews, such as the Google profile: MAC's rule for reviews asks for it there. Group gives two links.
- Put a MAC Review Card 1 in Reviews for each review, or an Etch loop with one inside, for reviews from a post type.
- For the overall rating, fill Rating > Text, such as "4.9 from 127 reviews on Google", and Rating > Value for its stars, such as 4.9.
Good to know
- The line under the cards, "A few of the 5-star reviews we've received on Google.", is in the component: change it once per site.
- The section doesn't hide when there are no reviews: wrap it in a loop that checks there's at least one.
- The CSS variables set the cards' gap and the most cards in a row, three by default.
Reference
Read from the component's JSON, so it's always current.
Loading the reference