Structured Content 2022: Join our conference to explore fresh perspectives on content and digital experiences →

Simple Star Rating

A Sanity.io custom input component that allows you to provide a star rating.

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

Install command

sanity install simple-star-rating

Categorized in