docs/extensions/file-extension.mdx
---
hide_title: true
title: 'FileExtension'
---
# `FileExtension`
import Basic from '../../website/extension-examples/extension-file/basic';
import WithObjectUrl from '../../website/extension-examples/extension-file/with-object-url';
import WithBashupload from '../../website/extension-examples/extension-file/with-bashupload';
import WithUploadProgress from '../../website/extension-examples/extension-file/with-upload-progress';
import WithUploadIncompleteWarning from '../../website/extension-examples/extension-file/with-upload-incomplete-warning';
import WithUploadFileButton from '../../website/extension-examples/extension-file/with-upload-file-button';
## Summary
Adds a file node to the editor
## Usage
### Installation
This extension is still in beta so is **not** included in the main `remirror` package.
```ts
import { FileExtension } from '@remirror/extension-file';
```
The extension is provided by the `@remirror/extension-file` package.
### Examples
<Basic />
<WithObjectUrl />
<WithBashupload />
<WithUploadProgress />
<WithUploadIncompleteWarning />
<WithUploadFileButton />
## API
- [FileExtension](../api/extension-file)