> 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/maxfilesize.md).

# maxFileSize

## Details

**Attribute:** `max-file-size`

**Type:** `number`

**Accepted values:** From `1`to `50`

**Default value:** `2.25`

## Morphology

```typescript
uploader.maxFileSize = 2.25;
```

## Description

Maximum allowed size in megabytes for each uploaded file.

### Considerations

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

***

## Example

```jsx
<facephi-file-uploader-widget
    maxFileSize={10}
/>
```
