tone | neutral | primary | secondary | tertiary | error | neutral | Controls the active symbol color and committed-value indicator. |
|---|
size | xs | sm | md | lg | xl | md | Scales the symbol row. |
|---|
label | string | '' | Fallback text for the label slot above the control. |
|---|
description | string | '' | Fallback text for the description slot below the control. |
|---|
icon | string | mdi:heart | When present, renders a built-in stellar-icon for each symbol. |
|---|
name | string | '' | Mirrors into an internal hidden input so the current value can submit with a form. |
|---|
value | number | 0 | The current rating value. |
|---|
max | number | 5 | Sets the number of rating symbols. |
|---|
step | number | 1 | Controls rating granularity. Use 0.5 for half ratings. |
|---|
disabled | boolean | false | Disables pointer and keyboard interaction. |
|---|
readonly | boolean | false | Shows the current rating without allowing edits. |
|---|