Skip to main content
GitHub

File Preview

Previews images, PDF, video, audio, code and CSV with download.

@kineticui/ui
poster.jpgimage · 21.2 KB
100%
poster.jpg
button.tsxcode · 412 B
export function Button({ children }) {
  return <button className="btn">{children}</button>;
}
revenue.csvtext
monthrevenueorders
Aug41200812
Sep44950866
Oct48210931
Nov51040982
track.mp3audio · 94.5 KB

Installation

Copies the source into your project so you can edit every line.

$ npx @kineticui/cli add file-preview

Also installs: code-block

Exports

FilePreview

Source: packages/ui/src/components/file-preview.tsx