# Rating API

> Auto-generated API reference for `Rating` from @vuetify/v0 (Vuetify0).
> Source of truth: https://0.vuetifyjs.com/api/rating

## Related

- https://0.vuetifyjs.com/components/forms/rating
- https://0.vuetifyjs.com/composables/forms/create-rating
- https://0.vuetifyjs.com/components/forms/slider

## Rating.Root

### Props

| Name | Type | Default | Required | Description |
|---|---|---|---|---|
| `modelValue` | `number \| undefined` | `0` | no | Current rating |
| `size` | `number \| undefined` | `5` | no | Total items (default: 5) |
| `half` | `boolean \| undefined` | `false` | no | Enable 0.5 increments |
| `disabled` | `MaybeRefOrGetter<boolean> \| undefined` | `false` | no | Disable interaction |
| `readonly` | `MaybeRefOrGetter<boolean> \| undefined` | — | no | Show value, prevent changes |
| `ariaLabel` | `string \| undefined` | — | no | Accessible name for the slider |
| `ariaLabelledby` | `string \| undefined` | — | no | ID of element that labels this slider |
| `name` | `string \| undefined` | — | no | Form field name — triggers hidden input |
| `namespace` | `string \| undefined` | `"v0:rating:root"` | no | Namespace for context provision |

### Slots

| Name | Type | Description |
|---|---|---|
| `default` | `RatingRootSlotProps` | — |

## Rating.HiddenInput

### Props

| Name | Type | Default | Required | Description |
|---|---|---|---|---|
| `namespace` | `string \| undefined` | `"v0:rating:root"` | no | Namespace for context injection from parent Rating.Root |

## Rating.Item

### Props

| Name | Type | Default | Required | Description |
|---|---|---|---|---|
| `index` | `number` | — | yes | 1-based position |
| `namespace` | `string \| undefined` | `"v0:rating:root"` | no | Namespace for context injection from parent Rating.Root |

### Slots

| Name | Type | Description |
|---|---|---|
| `default` | `RatingItemSlotProps` | — |
