Ratings
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.
API
Components.Ratings.
Components.Ratings.
Components.Ratings.
コンポーネントに色を設定します。この色は、定義されている色の名前(例えばsuccess
やpurple
)や、CSSの色指定(#033
やrgba(255, 0, 0, 0.5)
)を設定できます。
ダークテーマを適用します。
Components.Ratings.
Components.Ratings.
Components.Ratings.
Components.Ratings.
Components.Ratings.
Components.Ratings.
Components.Ratings.
Components.Ratings.
ライトテーマを適用します。
Components.Ratings.
Components.Ratings.
Components.Ratings.
Components.Ratings.
Components.Ratings.
Components.Ratings.
Components.Ratings.
Components.Ratings.
Examples
Size variants
Utilize the same sizing classes available in v-icon
or provide your own with the size prop.
Custom length
Sometimes an application will call for a customized implementation. Easily change length or displayed icons.
Incremented
A rating can have 3 defined icons, full-icon, half-icon (with the half-increments prop) and empty-icon.
Scoped slots
A scoped slot is provided to give you even more freedom in how you display the rating.
Card ratings
The rating component pairs well with products allowing you to gather and display customer feedback.
Advanced usage
The v-rating
component fits right in with existing components. Build truly complex examples with rich features and beautiful designs.