Components / Input

Input

A text input field with optional label.

Default

Basic text input.

With Label

Input with an associated label.

Disabled

Input in a disabled state.

MayaInput Props API

Prop / EventTypeDefaultDescription
modelValueString""The value of the input. Used with v-model.
typeString"text"Standard HTML input type (text, password, email, file, etc.).
labelString""Optional text label displayed above the input.
placeholderString""Placeholder text when input is empty.
disabledBooleanfalseWhether the input is disabled.
@update:modelValueEventEmitted when the input value changes.