# file-icons-vue **Repository Path**: zyyzyykk/file-icons-vue ## Basic Information - **Project Name**: file-icons-vue - **Description**: file-icons-vue,为 Vue.js 项目提供文件图标的npm依赖库。 file-icons-vue, a npm dependency package that provides file icons for Vue.js projects. - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: https://www.npmjs.com/package/file-icons-vue - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2023-12-07 - **Last Updated**: 2025-01-20 ## Categories & Tags **Categories**: Uncategorized **Tags**: Vue, file, icon, npm, icons ## README # file-icons-vue > file-icons-vue, a file icons npm package for Vue projects > > Author: [zyyzyykk](https://github.com/zyyzyykk/) > > Source Code: https://github.com/zyyzyykk/file-icons-vue > > Npm Address: https://www.npmjs.com/package/file-icons-vue > > Update Time: 2025-01-19

file-icons-vue logo

Npm Install Vue Version Python Version Apache Licence GitHub

English | 简体中文

### ⚡ Quick Importing 1. Install dependencies: recommend to the latest version ```sh # all icons npm i file-icons-vue # common icons npm i file-icons-vue-min ``` 2. Import components in the Vue3 project: ```vue ``` ### 🛸 Preview ![Preview](https://kkbapps.oss-cn-shanghai.aliyuncs.com/file-icons-vue/Preview.png) ### 💡 Function Description 1. `file-icons-vue` is a component used to display icons corresponding to file suffixes, which has been packaged and published in the npm repository. file-icons-vue provides a rich set of icons, including common file types and extensions, to enhance the visualization of Vue projects 2. The props parameters received by the component: | Parameter | Type | Meaning | Description | | ---------------------- | ------- | -------------------------------- | ------------------------------------------------------------ | | name | String | Full file name | Must be transmitted | | width | Number | Icon width (px) | Default value is 20 (px) | | height | Number | Icon height (px) | Default value is 20 (px) | | iconStyle | Object | File Icon custom style | The width and height attributes in the object do not take effect | | linkStyle | Object | File Iink custom style | The width and height attributes in the object do not take effect | | itemStyle | Object | Icon parent element custom style | The width and height attributes in the object do not take effect | | style (**deprecated**) | Object | Icon parent element custom style | The width and height attributes in the object do not take effect | | isFolder | Boolean | Is it a folder | Default value is false | | isMulti | Boolean | Is it multiple files | Default value is false | | isLink | Boolean | Is it linked file | Default value is false | ### 👨‍💻 Update Records ##### file-icons-vue@1.3.4: latest - Add `itemStyle` attribute instead of `style` attribute - Add `.hh`、`.xaml`、`.xsd`、`.xslt` icons, Modify `.xsl` icon ##### file-icons-vue@1.3.2: - Add `iconStyle`、`linkStyle` attribute, Modify the meaning of `style` attribute ##### file-icons-vue@1.3.1: - Add `isLink` attribute, supports displaying reference type files - Remove duplicate icons and reduce packaging volume - Modify `.html` icon ##### file-icons-vue@1.2.8: Add `isMulti` attribute, supporting multi file display [**History Update Records**](./doc/en_US/UPDATE.md) ### 🏘️ About this project Author: [zyyzyykk](https://github.com/zyyzyykk/) Welcome to provide valuable opinions or suggestions on this project, and you can also join us in maintaining and developing this project together