Single API
API reference for the Single components.
Single.Root
Props
namespace
stringNamespace for dependency injection (must match SingleItem namespace)
Default: "v0:single"
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
SingleRootSlotPropsSingle.Item
Props
Slots
default
SingleItemSlotProps<V>