# File

## Overview

A field for file storage and display.

<figure><img src="https://837703843-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUX6zPRMFFK0yrTghj7cY%2Fuploads%2FPyFfXLDMPXE7zUwDiFnr%2FCleanShot%202025-07-29%20at%2013.13.11%402x-min.png?alt=media&#x26;token=cba0e274-798c-4f34-b997-668837aaad37" alt=""><figcaption></figcaption></figure>

### Properties

| Name   | Type     | Description    |
| ------ | -------- | -------------- |
| `name` | `string` | Component name |

### Methods

<table><thead><tr><th width="116.3125">Name</th><th>Parameters</th><th width="106.9765625">Returns</th><th>Description</th></tr></thead><tbody><tr><td><code>setValue</code></td><td><code>src: string | File | Blob</code></td><td><code>void</code></td><td>Set component value</td></tr></tbody></table>

### Triggers

<table><thead><tr><th width="187.6796875">Name</th><th>Description</th></tr></thead><tbody><tr><td><strong>On Click</strong></td><td>Triggered when the component is clicked</td></tr><tr><td><strong>On Init</strong></td><td>Triggered when the component is initialized</td></tr></tbody></table>
