Actions
Button
A focused action primitive with five levels of emphasis, semantic colors, native and link behavior, flexible content, and explicit async states.Playground
Configure the complete public surface and copy synchronized kebab-case markup.
Token map
Choose a variant and semantic color to inspect its state groups and component-to-system dependencies.
Primary · Filled6 tokens
md-buttonMButton 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''primary'variantMaterial surface treatment that controls the component emphasis.'elevated' | 'filled' | 'tonal' | 'outlined' | 'text''filled'disabledPrevents interaction and applies the disabled visual state.booleanfalseloadingReplaces content with progress feedback and prevents interaction.booleanfalsetagRoot behavior: native button or Nuxt link.'button' | 'link''button'typeNative button type when `tag` is `button`.'button' | 'submit' | 'reset''button'toNuxt route destination when `tag` is `link`.NuxtLinkProps['to']undefinedSlots
Events
MButton does not emit component-specific events. Native events fall through to its root element.