Skip to main content
You are viewing Pre-Alpha documentation.
Vuetify0 Logo
Theme
Mode
Accessibility
Vuetify

Sign in

Sign in with your preferred provider to access your account.

Single API

API reference for the Single components.

Single.Root

Props

namespace

string

Namespace for dependency injection (must match SingleItem namespace)

Default: "v0:single"

disabled

boolean

Disables the entire single instance

Default: false

enroll

boolean

Auto-select non-disabled items on registration

Default: false

mandatory

boolean | "force"

Controls mandatory single behavior: - false (default): No mandatory single enforcement - true: Prevents deselecting the last selected item - `force`: Automatically selects the first non-disabled item on registration

Default: false

modelValue

T | T[]

Slots

default

SingleRootSlotProps

Single.Item

Props

id

string

Unique identifier (auto-generated if not provided)

label

string

Optional display label (passed through to slot, not used in registration)

value

V

Value associated with this item

disabled

MaybeRef<boolean>

Disables this specific item

namespace

string

Namespace for dependency injection

Default: "v0:single"

Slots

default

SingleItemSlotProps<V>
Was this page helpful?

© 2016-1970 Vuetify, LLC
Ctrl+/