Media

Website / Media

FilePreview

Summarizes a file before opening or downloading.

Live example

Interactive preview using local sample data. Styling is intentionally left to the consuming project.

Usage

// FilePreview usage will be documented here.

Adopt to your project

This Website → Media → FilePreview component provides a neutral structural starting point. Adapt local visual presentation through documented props and className without changing its semantic purpose.

Accessibility

Make download/open actions clearly named.

API reference

API focus
Filename, type, size, preview state, destination.

The preview uses safe local sample data. Check the exported TypeScript types before adapting it to project data.

Installation

Full library
pnpm install:project /absolute/path/to/your-project

Planned guided selection
Website → Media → FilePreview