<commit_before>---
title: File Picker
desc: The QFile Vue component is used as a file picker.
keys: QFile
related:
  - /vue-components/uploader
  - /vue-components/input
---

QFile is a component which handles the user interaction for picking file(s).

:::tip
If you also want a component to also handle the upload for you, please consider using [QUploader](/vue-components/uploader) instead.
:::

## QFile API

<doc-api file="QFile" />

## Design

::: warning
For your QFile you can use only one of the main designs (`filled`, `outlined`, `standout`, `borderless`). You cannot use multiple as they are self-exclusive.
:::

<doc-example title="Design Overview" file="QFile/DesignOverview" />

### Decorators

<doc-example title="Decorators" file="QFile/Decorators" />

### Coloring

<doc-example title="Coloring" file="QFile/Coloring" /><commit_msg>fix: Remove duplicate word in sentence (#10003)<commit_after>---
title: File Picker
desc: The QFile Vue component is used as a file picker.
keys: QFile
related:
  - /vue-components/uploader
  - /vue-components/input
---

QFile is a component which handles the user interaction for picking file(s).

:::tip
If you also want a component to handle the upload for you, please consider using [QUploader](/vue-components/uploader) instead.
:::

## QFile API

<doc-api file="QFile" />

## Design

::: warning
For your QFile you can use only one of the main designs (`filled`, `outlined`, `standout`, `borderless`). You cannot use multiple as they are self-exclusive.
:::

<doc-example title="Design Overview" file="QFile/DesignOverview" />

### Decorators

<doc-example title="Decorators" file="QFile/Decorators" />

### Coloring

<doc-example title="Coloring" file="QFile/Coloring" />
{'fraction_non_alphanumeric': 0.13202084539664158, 'fraction_numerical': 0.0028951939779965257, 'mean_word_length': 4.468354430379747, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1359552', 'n_tokens_mistral': 550, 'n_tokens_neox': 537, 'n_words': 193}