Components
Rating group

Rating Group

The RatingGroup allows a user to add and remove ratings for an item.

API Reference

Root

PropTypeDefault
allowHalf
boolean
asChild
boolean
autoFocus
boolean
defaultValue
number
dir
'ltr' | 'rtl'
disabled
boolean
form
string
getRootNode
() => ShadowRoot | Node | Document
id
string
ids
Partial<{ root: string label: string hiddenInput: string control: string rating(id: string): string }>
max
number
name
string
onHoverChange
(details: HoverChangeDetails) => void
onValueChange
(details: ValueChangeDetails) => void
readOnly
boolean
translations
IntlTranslations
value
number

Item

PropTypeDefault
index
number
asChild
boolean

Label

PropTypeDefault
asChild
boolean

Control

PropTypeDefault
asChild
boolean