Dev Design Library

File Type Icon

FileTypeIcon is a component that displays icons based on file types. It supports different file and folder types, color schemes, custom icons, and sizing options for visual representation of files and folders.

File Type Icon preview
Library
Lobe UI
Framework
React
Type
component
License
MIT
Install
pnpm add @lobehub/ui
Files
  • src/FileTypeIcon/FileTypeIcon.tsx
  • src/FileTypeIcon/index.ts
  • src/FileTypeIcon/stable.ts
  • src/FileTypeIcon/style.ts
  • src/FileTypeIcon/type.ts
  • src/FileTypeIcon/components/FileIcon.tsx
  • src/FileTypeIcon/components/FolderIcon.tsx
  • src/styles/stylex/cssVar.stylex.ts
Source
https://github.com/lobehub/lobe-ui

Categories

More from Lobe UI