Simple Star Rating
A Sanity.io custom input component that allows you to provide a star rating.
Warning
This plugin only works with an older version of Sanity Studio (v2), which is deprecated.
Learn how to migrate to the new Studio v3 →Simple Star Rating
A Sanity.io custom input component that allows you to provide a star rating.
Installation
sanity install simple-star-rating
Usage
{
title: "Rating",
name: "rating",
type: "rating", // Required
description: "Apply a rating out of 5 stars",
options: {
stars: 5, // Optional. Default 5.
}
},