# rating — Examples

## Basic

```html
<rating-ui value="3" readonly></rating-ui>
```

## Interactive

```html
<rating-ui value="0" name="rating-basic"></rating-ui>
```

## icon

```html
<rating-ui value="4" icon="heart" variant="warning" readonly></rating-ui>
```
