# File upload ## Introduction The HTML `` element with type="file" lets a user pick one or more files, to upload to a server. ## Guidance Find out when to use the File upload component in your service in the [GOV.UK Design System](https://govuk-design-system-production.cloudapps.digital/components/file-upload). ## Quick start examples ### Component default [Preview the file-upload component](http://govuk-frontend-review.herokuapp.com/components/file-upload/preview) #### Markup
Name | Type | Required | Description |
---|---|---|---|
name | string | Yes | The name of the input, which is submitted with the form data. |
id | string | Yes | The id of the input |
value | string | No | Optional initial value of the input |
label | object | Yes | Arguments for the label component. See label component. |
hint | object | No | Arguments for the hint component (e.g. text). See hint component. |
errorMessage | object | No | Arguments for the errorMessage component (e.g. text). See errorMessage component. |
classes | string | No | Optional additional classes to add to the input tag. |
attributes | object | No | Any extra HTML attributes (for example accept or data attributes) to add to the input tag. |