Rating
Properties
Section titled “Properties”Fill color for the selected stars via bg-{token} (e.g. Color.Warning → bg-warning).
daisyUI mask class applied to each radio input (e.g. “mask-star-2”, “mask-heart”). Defaults to “mask-star-2”.
Number of stars to render. Defaults to 5.
ReadOnly
Section titled “ReadOnly”When true the user cannot interact with the widget.
Size of the rating widget: maps to rating-xs / (default) / rating-sm / rating-md / rating-lg / rating-xl.
Current rating value (1–Max). 0 means no selection.
ValueChanged
Section titled “ValueChanged”Raised when the user selects a star.