File specific icons from vscode vscode-icons extension inspired by file-icons-js
npm i vscode-icons-js
import { getIconForFile, getIconForFolder, getIconForOpenFolder } from 'vscode-icons-js';
console.log(getIconForFile('main.cpp'));
// file_type_cpp.svg
https://dderevjanik.github.io/vscode-icons-js-example/
Source Code: https://github.com/dderevjanik/vscode-icons-js-example
- vscode-icons extension for vscode
- github-vscode-icons extension for chrome, which shows vscode-icons icons in github repository
- vscode-icons-js-example example