https://github.com/jaclyntan/netlify-cms-widget-rating
Add a rating widget to NetlifyCMS
https://github.com/jaclyntan/netlify-cms-widget-rating
netlify-cms range range-slider
Last synced: 6 months ago
JSON representation
Add a rating widget to NetlifyCMS
- Host: GitHub
- URL: https://github.com/jaclyntan/netlify-cms-widget-rating
- Owner: jaclyntan
- License: mit
- Created: 2020-08-04T08:46:16.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-12-06T20:18:33.000Z (almost 3 years ago)
- Last Synced: 2025-02-20T11:49:06.575Z (9 months ago)
- Topics: netlify-cms, range, range-slider
- Language: JavaScript
- Homepage: https://github.com/jaclyntan/netlify-cms-widget-rating
- Size: 2.29 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 14
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
- awesome-decap-cms - netlify-cms-widget-rating - Add a rating widget to NetlifyCMS. (Custom Widget)
README
# netlify-cms-widget-rating
[Check out a demo!](https://netlify-cms-widget-rating.netlify.app)
Add a rating widget to Netlify CMS.
Features a range slider with 0.5 step value between 0-10.
## How to use
Add to your Netlify CMS configuration:
```html
Content Manager
const ratingWidget = window.NetlifyCmsWidgetRating;
CMS.registerWidget('rating', ratingWidget.control, ratingWidget.preview);
```
```yaml
fields:
- { name: Rating, label: Rate, widget: rating }
```
## Commands
Develop:
```shell
npm start
```
Build:
```shell
npm run build
```