# PromptBox File Attachments

The Blazor PromptBox component provides integrated file attachment functionality that allows users to select and attach files directly within the input interface. This feature is essential for AI communication scenarios where users need to provide documents, images, or other files as context for their prompts.

File attachment functionality is controlled through the `EnableFileSelect` parameter and configured using the [`PromptBoxFileSelectButtonSettings`](https://docs.telerik.com/blazor-ui/api/Telerik.Blazor.Components.PromptBoxFileSelectButtonSettings) within the `PromptBoxSettings` section.

To enable file attachment functionality, set the `EnableFileSelect` parameter to `true`:

> caption Basic file attachment setup

<demo metaUrl="client/promptbox/attachments/example-1/" height="300"></demo>

## File Selection Parameters and Events

To review all available parameters and events for the PromptBox file select settings, see the [PromptBoxFileSelectButtonSettings API Reference](https://docs.telerik.com/blazor-ui/api/Telerik.Blazor.Components.PromptBoxFileSelectButtonSettings).

## See Also

* [PromptBox Overview](https://www.telerik.com/blazor-ui/documentation/components/promptbox/overview)
* [PromptBox Events](https://www.telerik.com/blazor-ui/documentation/components/promptbox/events)
