---
id: file-upload
title: FileUpload
---

# FileUpload

## How to use

<code src="@digigov/ui/src/form/FileUpload/__stories__/Default.tsx" />

### Error message

Error messages should be styled like this:

<code src="@digigov/ui/src/form/FileUpload/__stories__/WithErrorMessage.tsx" />

## API

See below for a complete reference to all of the props  available to the components mentioned here.

<ComponentProps componentName={["FileUpload", "FileUploadContainer"]} /> 
