Skip to content

2.1

Rating

Rating provide insight regarding others opinions and experiences component.

Import

js
import { MpRating } from '@mekari/pixel3'

Playground

API

MpRating

Props
Events
Slots
NameTypeDefault
id
Id of rating.
string -
model-value
modelValue of rating, use for v-model.
number0
max-value
max of rating,
string -
variant
Variant of rating.
star | heartstar
color
Color of rating.
ColorToken | string -
is-show-value
If true, show rating value as description.
booleanfalse
is-read-only
If true, rating only show as display.
booleanfalse

Usage

Basic

Advance