Star Rating
Plugin Page:
Plugin page: Coming soon
Description
The Star Rating Plugin is a customizable rating component based on the Element Plus library's Rate component. This plugin allows users to rate content using stars, similar to other widely used rating systems. It is designed to be easily integrated into web applications with options to modify various aspects of the rating component, such as maximum rating value, whether half-stars are allowed, colors, and more. This plugin provides an easy way to collect user feedback in a visual format.
How to Use
Install the plugin: Find the plugin and add it to your application.
Place the input: Find the "Star Rating" in elements sidebar and drag it into the desired area. Set the parameters.

If you have any questions, feel free to reach out at [email protected]
Demo Page
https://plugindepartment.bubbleapps.io/version-test/star-rating
Plugin Parameters
value:Description: Binding value representing the current rating.
Type:
numberDefault:
''
max:Description: Maximum rating score.
Type:
numberDefault:
5
size:Description: Size of the rating stars.
Type:
enum(e.g.,small,medium,large)
disabled:Description: Determines if the rating component is read-only.
Type:
booleanDefault:
false
allowHalf:Description: Allows selection of half stars.
Type:
booleanDefault:
false
lowThreshold:Description: Threshold value between low and medium levels, used for coloring.
Type:
numberDefault:
2
highThreshold:Description: Threshold value between medium and high levels, used for coloring.
Type:
numberDefault:
4
colors:Description: Custom colors for the icons based on the rating level, provided as a comma-separated string (e.g.,
'#ffcc00,#ff9900,#ff6600').Type:
string
voidColor:Description: Color of unselected icons.
Type:
stringDefault:
#c6d1de
disabledVoidColor:Description: Color of unselected read-only icons.
Type:
stringDefault:
#eff2f7
voidIcon:Description: The icon used for unselected stars.
Type:
stringDefault:
Star
disabledVoidIcon:Description: The icon used for unselected read-only stars.
Type:
stringDefault:
StarFilled
showText:Description: Whether to display helper texts next to the rating.
Type:
booleanDefault:
false
showScore:Description: Whether to display the current score. It cannot be used simultaneously with
showText.Type:
booleanDefault:
false
textColor:Description: The color of the text.
Type:
stringDefault:
''
texts:Description: Custom text to display at each rating level, provided as a comma-separated string (e.g.,
'Very Bad,Bad,Neutral,Good,Excellent').Type:
stringDefault:
''
clearable:Description: Allows the user to clear the rating back to zero.
Type:
booleanDefault:
false
Icons
To see the available icon identifiers and their appearance, visit Element Plus Icon Collection.
Found a bug?
If you suspect something isn't working quite right, please don't hesitate to send us a bug report. Here's an instruction on how to file a bug report. Your input helps us quickly address issues and strive for continuous improvement. Thank you for your cooperation!
Last updated