Skip to content

Rating


View Source 

Usage

css
@import "winduum/src/ui/rating/index.css" layer(components);

Variants

  • default 

Props

  • default-props 

Tokens

  • invalid 

Examples

Basic

html
<div class="ui-rating accent-warning">
    <input type="radio" name="rating" value="1" aria-label="Rate 1/5">
    <input type="radio" name="rating" value="2" aria-label="Rate 2/5">
    <input type="radio" name="rating" value="3" aria-label="Rate 3/5">
    <input type="radio" name="rating" value="4" aria-label="Rate 4/5">
    <input type="radio" name="rating" value="5" aria-label="Rate 5/5">
</div>

Released under the MIT License.