---
url: "https://vueda.dev/v3/reference/api/vue/FileDisplay.md"
title: "FileDisplay"
---

# FileDisplay

## Overview

Presents a stored file as a link labelled with the file name, rather than the
`{ "name": ..., "url": ... }` object that VUEDA's file and image serializer fields send.
A plain string value is read as the file's URL and is also the label. A null, absent, or
empty value renders the same dash {@link DateTimeDisplay} uses for an empty date.

Theme entry: [FileDisplay](/v3/reference/theming/keys/FileDisplay.md)

## Props

| Name | Type | Required | Default | Description |
| --- | --- | --- | --- | --- |
| <span id="prop-themeOverride">themeOverride</span> | `Object` |  | `null` | A partial ThemeObject keyed by component name, merged over this component's theme and provided to descendants. |
| <span id="prop-value">value</span> | `string\|object` |  | `undefined` | The file to present: a `{ name, url }` object or a URL string. `null`, `undefined`, and `""` render the dash. |
| <span id="prop-inline">inline</span> | `boolean` |  | `false` | Renders without a wrapping block, for use inside a table cell or an existing text row. |
| <span id="prop-class">class</span> | `import('vue').HTMLAttributes['class']` |  | `undefined` | Additional CSS classes applied to the root. |

## Source

`client/lib/display/file-display/FileDisplay.vue`
