# XWUIFilePreview

Inline preview of uploaded files (PDF, images, documents)

## Basic Usage

XWUIFilePreview Component Inline preview of uploaded files (PDF, images, documents).

```example
file: examples/BasicUsage.ts
html: examples/BasicUsage.html
title: Basic Usage
description: Inline preview of a single uploaded image file, with name and size.
```

## Document file

A non-image file (PDF) renders an icon and type label instead of a thumbnail image.

```example
file: examples/DocumentFile.ts
html: examples/DocumentFile.html
title: Document file
description: A non-image file (PDF) renders an icon and type label instead of a thumbnail.
```

## Gallery mode

Several files shown as a grid of thumbnails using mode gallery.

```example
file: examples/Gallery.ts
html: examples/Gallery.html
title: Gallery mode
description: Several files shown as a grid of thumbnails using mode gallery.
```

```api
```
