Rating
Star rating with hover preview and arrow-key adjust.
a11yform
Customize
Max stars5
Default value3
Props
| Prop | Type | Default | Description |
|---|---|---|---|
max | number | 5 | Number of stars. |
defaultValue | number | 0 | Initial rating. |
onChange | (value: number) => void | — | Fired when the rating changes. |
className | string | — | Extra classes. |