Buttons
Segmented button
Present a small set of related, mutually comparable options in one connected control — pick one, or toggle several.Playground
Configure the group and copy synchronized Vue markup.
Token map
Container, segment, and selected-scheme tokens with their component-to-system dependencies.
MButtonSegmented · All52 tokens
md-segmented-buttonMButtonSegmented API
Props, slots, and events are hydrated from the generated public manifest.
Props
NameTypeDefault
colorSemantic Material color role used by the component scheme.'primary' | 'secondary' | 'tertiary' | 'error''secondary'disabledPrevents interaction and applies the disabled visual state.booleanfalseloadingReplaces content with progress feedback and prevents interaction.booleanfalseitemsSegments displayed by the single- or multi-select group.MSegmentedItem[]() => []modelValueCurrently selected segment value or values.string | number | (string | number)[]undefinedmultipleEnables selecting more than one segment.booleanfalseSlots
Events
@update:modelValueMSegmentedModelValue