🎤 Builder Talk: The Story Behind Lady Gaga’s Digital Experience – Register now

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

  1. 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.
  }
},

Preview

Simple star rating input preview

v2 install command (deprecated)

sanity install simple-star-rating