The rating component is a specialized but crucial piece in building user widgets. Collecting user feedback via ratings is a simple analytic that can provide a lot of feedback to your product or application.
The color used empty icons
Add input clear functionality, default icon is Material Icons clear
Milliseconds to wait before closing component
Applies specified color to the control - it can be the name of material color (for example
purple) or css color (
rgba(255, 0, 0, 0.5))
Applies the dark theme variant
The icon displayed when empty
The icon displayed when full
The icon displayed when half (requires half-increments prop)
Allows the selection of half increments
Provides visual feedback when hovering over icons
Makes the icon large (36px)
The amount of ratings to show
Applies the light theme variant
Makes the icon medium (28px)
Milliseconds to wait before opening component
Removes all hover effects and pointer events
Specifies a custom font size for the icon
Makes the icon small (16px)
The rating value
Makes the icon extra large (40px)
Size variantsNew in v1.2
Utilize the same sizing classes available in
v-icon or provide your own with the size prop.
Custom lengthNew in v1.2
Sometimes an application will call for a customized implementation. Easily change length or displayed icons.
IncrementedNew in v1.2
A rating can have 3 defined icons, full-icon, half-icon (with the half-increments prop) and empty-icon.
Scoped slotsNew in v1.2
A scoped slot is provided to give you even more freedom in how you display the rating.
Card ratingsNew in v1.2
The rating component pairs well with products allowing you to gather and display customer feedback.
Advanced usageNew in v1.2
v-rating component fits right in with existing components. Build truly complex examples with rich features and beautiful designs.