Skip to content

kravets-levko/pretty-file-icons

Repository files navigation

Pretty File Icons

Pretty colorful icons for files (in svg format).

Icon pack author: Madebyoliver. Icons are published as-is and under the licence by flaticon.com. Licence for everything except icons is MIT.

See index.json for available icons list. Live preview is available here.

Usage

Just download image files and use them. Also, this package is available on NPM:

npm install pretty-file-icons

In addition, this package contains mapping for some file extensions - see the index.json file. Also, it can be used in javascript applications to retrieve icon names by file name:

var prettyFileIcons = require('pretty-file-icons');

console.log(prettyFileIcons.getIcon('test.csv'));
console.log(prettyFileIcons.getIcon('test.csv', 'svg'));
console.log(prettyFileIcons.getIcon('.test', 'svg'));

// Prints:
// csv
// csv.svg
// unknown.svg

Preview:

Preview

About

Pretty colorful icons for files (in svg format).

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published