> For the complete documentation index, see [llms.txt](https://help.iviva.com/uxp/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.iviva.com/uxp/types/ifileinputprops.md).

# IFileInputProps

```tsx
interface IFileInputProps {
    value: File | string
    onChange: (file: File, isValid: boolean) => void,
    allowedTypes?: string[]
    preview?: {
        showName?: boolean // default false,
        showPreview?: boolean // default true
    }
    className?: string,
    dropAreaIcon?: IconProp,
    dropAreaLabel?: string
}
```

## Usage

```tsx
import {IFileInputProps} from 'uxp/components';
```
