# uui-file-preview

[![npm](https://img.shields.io/npm/v/@umbraco-ui/uui-file-preview?logoColor=%231B264F)](https://www.npmjs.com/package/@umbraco-ui/uui-file-preview)

Umbraco style file-preview component.

### See it in action

Preview the component on [Storybook](https://uui.umbraco.com/?path=/docs/uui-file-preview--docs)

## Installation

### ES imports

```zsh
npm i @umbraco-ui/uui-file-preview
```

Import the registration of `<uui-file-preview>` via:

```javascript
import '@umbraco-ui/uui-file-preview';
```

When looking to leverage the `UUIFilePreviewElement` base class as a type and/or for extension purposes, do so via:

```javascript
import { UUIFilePreviewElement } from '@umbraco-ui/uui-file-preview';
```

## Usage

```html
<uui-file-preview></uui-file-preview>
```
