Skip to content

DisplayRating ​

A score shown as stars, with a text alternative. To let the visitor choose the score use FormRating.

ts
import { DisplayRating } from '@zairakai/vue-components/Display'

Usage ​

vue
<DisplayRating />

Props ​

NameTypeDefaultDescription
idstring
classstring
valuenumber0The score, from 0 to max, with halves.
maxnumber5
labelstring'{value} out of {max}'The text read for the score. Use {value} and {max}.

Slots ​

NameDescription
default

See Theming for the class hooks and the data-* state of the components.

Documentation of 1.4.4 , built from 8e9b054 on 1.4.4 by pipeline #2989941079 on 2026-10-26.