{
  "$schema": "https://registry.ui.frontic.com/item.schema.json",
  "title": "Reviews",
  "description": "Review summary card with the average rating, a star distribution, the latest reviews with verified-purchase marks, and read-all and write-a-review actions.",
  "categories": ["review"],
  "components": {
    "Reviews": "Shows the average rating with its star breakdown and a few reviews."
  },
  "recipes": {
    "reviews": {
      "composes": ["heading", "meta", "line-title", "hint"]
    },
    "reviews-count": {
      "base": {
        "extends": "meta",
        "width": "{spacing.7}",
        "textAlign": "end"
      }
    },
    "reviews-stars": {
      "base": {
        "extends": "meta",
        "width": "{spacing.3}"
      }
    },
    "reviews-verified": {
      "base": {
        "extends": "note-positive",
        "typography": "{typography.caption}",
        "gap": "{spacing.1}",
        "icon": {
          "size": "{spacing.3.5}"
        }
      }
    }
  }
}
