Skip to content
R

react-file-icon

React component to render svg file icons

by corygibbonsFree

#228in UI Libraries
0In stores

Description

react-file-icon is a React component that renders SVG file icons, the small pictures that show a file type, such as a document, spreadsheet…

Highlights

  • SVG file icons as a React component
  • Themeable colour and label
  • Folded corner option
  • Props table and CodeSandbox demo

Ratings & Reviews

No ratings yet

Be the first to rate react-file-icon.

People also visit

M

material-file-icons

Beautiful material style file type icons in a simple react component

UI Libraries
Launch
R

@react-symbols/icons

Symbols icons by Miguel Solorio for React

UI Libraries
Launch
I

@icons-pack/react-simple-icons

This package provides the Simple Icons packaged as a set of React components

UI Libraries
Launch
F

file-icons-js

File specific icons for the browser from Atom File-icons

UI Libraries
Launch
F

@files-ui/react

UI components for file uploads with React js

UI Libraries
Launch
R

react-iconly

React component for Iconly icons

UI Libraries
Launch

react-file-icon FAQ

What does react-file-icon render?

SVG file-type icons, such as documents, spreadsheets and images.

Can I change the look?

Yes. The colour and label are set through props, and the README lists them.

Is there a demo?

Yes. The README links to a CodeSandbox demo.

Where is the prop list?

In a table in the README, with types and defaults.

What are the best react-file-icon alternatives?

Popular alternatives to react-file-icon include material-file-icons, @react-symbols/icons and @icons-pack/react-simple-icons. See all react-file-icon alternatives

Developer Stuff

Badges