> ## Documentation Index
> Fetch the complete documentation index at: https://docs.evidence.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# File

> Attach a downloadable file to a report as a card showing its icon, name, type, and date. Drop or paste a file into the editor to upload it to your organization and insert a file tag automatically.

```liquid theme={null}
{% file
    url="https://files.example.com/reports/q3-board-deck.pdf"
    name="Q3 Board Deck.pdf"
    date="2026-09-29"
/%}
```

## Examples

### Basic Usage

```liquid theme={null}
{% file
    url="https://files.example.com/reports/q3-board-deck.pdf"
    name="Q3 Board Deck.pdf"
    date="2026-09-29"
/%}
```

### Uploaded File

```liquid theme={null}
{% file
    url="evd_org_01ABC/k7Xq2mB9.xlsx"
    name="Regional Sales Model.xlsx"
    date="2026-09-29"
/%}
```

## Attributes

**url** `string` *required*

The upload alias returned when a file is dropped into the editor (evd\_...), or an external URL to link to.

**name** `string`

Display name for the file. Defaults to the filename from the URL.

**type** `string`

File type label shown on the card (e.g. PDF, Excel). Inferred from the file extension when omitted.

**date** `string`

Date shown on the card, e.g. the upload date. Accepts YYYY-MM-DD, an ISO timestamp, or free text.

**width** `number`

Set the width of this component (in percent) relative to the page width


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.