# Input (@limerdev/zest) A text input (`type` text, email, number, password, search, date, file …) with `bind:value`, or `bind:files` for `type="file"`. Inside a `Field` it takes its id, label, description, error and invalid and disabled state from the Field. - Category: Data input - Import: `import { Input } from '@limerdev/zest'` - Exports: `Input` - Use for: Single-line text and number entry, in a `Field`. - Don't: An Input without a label: wrap it in a `Field` with a `Field.Label`, or give it `aria-label`. `type="checkbox"` or `type="radio"`. Multi-line text. ```svelte Email ``` Props of `Input`: - `files` (`FileList | null`, bindable): The chosen files, for `type="file"`. Bindable. - `value` (`string | number | null`, bindable): The text, or a number for `type="number"`. Bindable. Example: Types Any text-like type. Outside a Field, name it with aria-label or a Label. ```svelte
``` Example: States aria-invalid marks an input invalid; inside a Field, a Field.Error does it for you. ```svelte
```