sanity-plugin-simple-star-rating

0.1.6 • Public • Published

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

Package Sidebar

Install

npm i sanity-plugin-simple-star-rating

Weekly Downloads

4

Version

0.1.6

License

MIT

Unpacked Size

27.2 kB

Total Files

6

Last publish

Collaborators

  • colettewilson