# InputMode

> Represents values for the HTML inputmode attribute.

[API reference](/docs/api/index.md) › [HTML Attribute](/docs/extensions/html-attribute/reference/index.md) › [Values](/docs/extensions/html-attribute/reference/values/index.md) › InputMode

| enum | `UIAwesome\Html\Attribute\Values\InputMode` |
| --- | --- |
| Backed by | `string` |
| Source | [`src/Values/InputMode.php`](https://github.com/ui-awesome/html-attribute/blob/main/src/Values/InputMode.php#L12) |

Represents values for the HTML `inputmode` attribute.

See also: <https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/inputmode>.

## Cases

| Case | Value | Description |
| --- | --- | --- |
| <span id="case-DECIMAL"></span>`DECIMAL` | `'decimal'` | `decimal` - Fractional numeric input keyboard containing the digits and decimal separator. |
| <span id="case-EMAIL"></span>`EMAIL` | `'email'` | `email` - Virtual keyboard optimized for entering email addresses. |
| <span id="case-NONE"></span>`NONE` | `'none'` | `none` - No virtual keyboard. |
| <span id="case-NUMERIC"></span>`NUMERIC` | `'numeric'` | `numeric` - Numeric input keyboard, but only requires the digits 0–9. |
| <span id="case-SEARCH"></span>`SEARCH` | `'search'` | `search` - Virtual keyboard optimized for search input. |
| <span id="case-TEL"></span>`TEL` | `'tel'` | `tel` - Telephone keypad input, including the digits 0–9, the asterisk (*), and the pound (#) key. |
| <span id="case-TEXT"></span>`TEXT` | `'text'` | `text` - Standard text input keyboard. |
| <span id="case-URL"></span>`URL` | `'url'` | `url` - Virtual keyboard optimized for entering URLs. |