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 / Event | Type | Default | Description |
|---|---|---|---|
modelValue | String | "" | The value of the input. Used with v-model. |
type | String | "text" | Standard HTML input type (text, password, email, file, etc.). |
label | String | "" | Optional text label displayed above the input. |
placeholder | String | "" | Placeholder text when input is empty. |
disabled | Boolean | false | Whether the input is disabled. |
@update:modelValue | Event | — | Emitted when the input value changes. |