Skip to main content
You are viewing Pre-Alpha documentation.
Vuetify0 LogoVuetify0 Logo
Theme
Mode
Palettes
Accessibility
Vuetify One
Sign in to Vuetify One

Access premium tools across the Vuetify ecosystem — Bin, Play, Studio, and more.

Not a subscriber? See what's included

Rating API

API reference for the Rating components.

Rating.Root

Props

modelValue

number | undefined

Current rating

Default: 0

size

number | undefined

Total items (default: 5)

Default: 5

half

boolean | undefined

Enable 0.5 increments

Default: false

disabled

MaybeRefOrGetter<boolean> | undefined

Disable interaction

Default: false

readonly

MaybeRefOrGetter<boolean> | undefined

Show value, prevent changes

name

string | undefined

Form field name — triggers hidden input

namespace

string | undefined

Namespace for context provision

Default: "v0:rating:root"

Slots

default

RatingRootSlotProps

Rating.HiddenInput

Props

namespace

string | undefined

Namespace for context injection from parent Rating.Root

Default: "v0:rating:root"

Rating.Item

Props

index required

number

1-based position

namespace

string | undefined

Namespace for context injection from parent Rating.Root

Default: "v0:rating:root"

Slots

default

RatingItemSlotProps
Was this page helpful?

© 2016-1970 Vuetify, LLC
Ctrl+/