Selection
Chip group
Single or multiple selection, mandatory and max rules, and one tab stop — standalone chips still work.Playground
Configure the component and copy synchronized Vue code.
Token map
The manual manifest combines inherited token owners with local deltas.
MChipGroup · All2 tokens
md-chip-groupMChipGroup API
Props, slots, and events are generated from the current public kit contract.
Props
NameTypeDefault
itemsOptional data-driven items rendered through the `#item` slot.readonly unknown[]undefineditemValueResolve each item's selection value (key or getter).string | ((item: unknown, index: number) => unknown)undefineditemDisabledResolve each item's disabled state (key or getter).string | ((item: unknown, index: number) => boolean)undefineditemKeyResolve a stable v-for key (key or getter).string | ((item: unknown, index: number) => PropertyKey)undefinedmultipleAllow multiple selection.booleanfalsemandatoryEnforce at least one selection; `'force'` also auto-selects the first.boolean | 'force'falsedisabledDisable every registered chip in the group.booleanfalsemaxMaximum concurrent selections (multiple mode only).numberundefineddirectionLayout flow; also maps the arrow keys.'horizontal' | 'vertical''horizontal'wrapWrap chips onto multiple lines instead of scrolling natively.booleantruevalueComparatorCustom value equality (defaults to `===`).(left: unknown, right: unknown) => booleanundefinedSlots
Events
MChipGroup does not emit component-specific events. Native events fall through to its root element.