> For the complete documentation index, see [llms.txt](https://docs.facephi.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.facephi.com/docs.facephi-en/sdks/sdk-web/componentes/file-uploader-cargador-de-archivos/propiedades/maxfiles.md).

# maxFiles

## Details

**Attribute:** `max-files`

**Type:** `number`

**Default value:** `2`

## Morphology

```typescript
uploader.maxFiles = 2;
```

## Description

Maximum number of files the user can upload before sending for analysis.

### Considerations

Allowed values: from `1` to `5`. Outside that range, the default value is applied and a warning is shown in the console.

***

## Example

```jsx
<facephi-file-uploader-widget
    maxFiles={2}
/>
```
