---
title: 'Input File: Overview'
parts:
  - Input File
  - Overview
eleventyNavigation:
  key: 'Input File: Overview'
  order: 10
  parent: Input File
  title: Overview
---

# Input File: Overview

A web component based on the file input field.

```js script
import { html } from '@mdjs/mdjs-preview';
import '@lion/ui/define/lion-input-file.js';
```

```js preview-story
export const main = () => {
  return html` <lion-input-file label="Upload" name="upload"></lion-input-file> `;
};
```

## Features

- Based on our [input](https://github.com/ing-bank/lion/blob/e45f5c198ccac32dc5c3fd5db6a9fc9fc3595c35/docs/components/input/overview.md)
- Default labels and validation messages in different languages
- Options for multi file upload and drop-zone.

## Installation

```bash
npm i --save @lion/ui
```

```js
import { LionInputFile } from '@lion/ui/input-file.js';
// or
import '@lion/ui/define/lion-input-file.js';
```
