Form input
File input
Return File data directly without mixing selection with upload transport or queue state.Playground
Configure the component and copy synchronized Vue code.
Token map
The manual manifest combines inherited token owners with local deltas.
MFileInput · All30 tokens
md-file-inputMFileInput API
Props, slots, and events are generated from the current public kit contract.
Props
NameTypeDefault
disabledPrevents interaction and applies the disabled visual state.booleanfalseloadingReplaces content with progress feedback and prevents interaction.booleanfalsereadonlybooleanfalsevariant'filled' | 'outlined' | 'underline''filled'rounded'sharp' | 'small' | 'medium' | 'large' | 'pill''small'labelPlacement'top' | 'float' | 'inset' | 'hidden''float'pathstringundefinednamestringundefinedlabelstringundefinedplaceholderstringundefinedhelperTextstringundefinederrorbooleanfalseerrorMessagestringundefinedrequiredbooleanfalseautofocusbooleanfalseautocompletestringundefinedacceptstringundefinedmultiplebooleanfalsecaptureboolean | 'user' | 'environment'undefinedmaxFilesnumberundefinedmaxSizenumberundefinedshowSizebooleanfalseclearablebooleantrueSlots
Events
@rejectFileRejection@clearvoid@selectFile[]