-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Add customizable Star Ratings component using star-rating.js
library
#1571
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
🦋 Changeset detectedLatest commit: 27b9031 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
…nto dev-stars-rating
is this jquery dependent or pure js? |
Pure JS, in Tabler we dont use jQuery and any jQuery plugins 🙂 |
@codecalm : |
This PR adds a new Star Ratings component to our project, using the
star-rating.js
JavaScript library. The new component provides users with a fully customizable star rating system, allowing them to rate items with stars that can be customized in size, color, and image.To add the new component, I integrated the
star-rating.js
library into our project and created a new HTML and CSS file to display the star ratings. The stars are fully customizable, with options to change the size, color, and image of the stars to match the look and feel of our application.The new Star Ratings component provides users with a simple and intuitive way to rate items using stars. Users can click on a star to select a rating, with the selected star and all stars to the left of it being filled in. The rating is then recorded and can be displayed to other users or used in calculations or analytics.
Demo: https://tabler-git-dev-stars-rating-tabler-io.vercel.app/stars-rating.html
Preview