{"library":"react-file-icon","type":"library","category":null,"description":"react-file-icon is a React component library designed to render scalable vector graphic (SVG) icons representing various file types. It provides a `FileIcon` component that can display an icon based on a file extension, with extensive customization options for colors, gradients, folds, and labels. The library is currently on version 1.6.0 and shows an active development cadence, with several minor releases supporting newer React versions (up to React 19) and improving bundle size through dependency swaps (e.g., `colord` replacing `tinycolor2`). Key differentiators include its rich set of customizable props, an exported `defaultStyles` object for common file extensions, and the use of modern React features like `React.useId` for unique ID generation, ensuring efficient and accessible icon rendering.","language":"javascript","status":"active","version":"1.6.0","tags":["javascript","react","component","svg","icons","file types"],"install":[{"cmd":"npm install react-file-icon","imports":["import { FileIcon } from 'react-file-icon';","import { defaultStyles } from 'react-file-icon';","import type { FileIconProps } from 'react-file-icon';"]},{"cmd":"yarn add react-file-icon","imports":[]},{"cmd":"pnpm add react-file-icon","imports":[]}],"homepage":null,"github":"https://github.com/corygibbons/react-file-icon","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/react-file-icon","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/react-file-icon/compatibility"},"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Wed Jun 17","next_check":"Mon Jul 20","install_tag":null}}