The type of the input. See the [`type`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#attr-type) attribute of HTML's native `<input>` element.
+++Enum
| Value | Description |
| -- | -- |
| `text` | Plain text input. |
| `password` | Password input. |
| `hidden` | Hidden input but holds a value to submit. |
+++
^^^
### Slots
| Name | Description |
| -- | -- |
| `before` | The content before the input area inside the component. |
| `after` | The content after the input area inside the component. |
:::warning
Slots will squeeze the width of the input area.
:::
### Events
| Name | Description |
| -- | -- |
| `change` | [^event-change] |
| `input` | [^event-input] |
^^^event-change
Triggered when the input value is changed like the native `change` event. The callback parameter list is `(value, event)`.
Triggered when inputting into the input. Affected by the `composition` prop. The callback parameter list is `(value: string)`, where `value` is the current value of the input.
^^^
Additionally, `Input` exposes the following native events: