Loading...
Installation
Install the following dependency:
Copy and paste the following code into your project.
Loading...
Update the import paths to match your project setup.
Examples
Default
Loading...
Sizes
Loading...
Types
Loading...
API Reference
FileIcon
| Prop | Type | Default |
|---|---|---|
type | FileIconType | "file" |
title | string | — |
FileIconType
type FileIconType = | "file" | "archive" | "document" | "spreadsheet" | "presentation" | "pdf" | "video" | "music" | "image";
Angular
React
Solid
Svelte
Vue