Group API
API reference for the Group components.
Group.Root
Props
namespace
stringNamespace for dependency injection (must match GroupItem namespace)
Default: "v0:group"
mandatory
boolean | "force"Controls mandatory group behavior: - false (default): No mandatory group enforcement - true: Prevents deselecting the last selected item - `force`: Automatically selects the first non-disabled item on registration
Default: false
modelValue
T | T[]Events
update:model-value
[value: T | T[]]Slots
default
GroupRootSlotPropsGroup.Item
Props
Slots
default
GroupItemSlotProps<V>