@incremark/icons
@incremark/icons
🇨🇳 中文 | 🇺🇸 English
Incremark 图标库,提供纯 SVG 图标供 Vue、React、Svelte 子包使用。
安装
pnpm add @incremark/icons
使用
import { GravityMermaid, LucideCopy } from '@incremark/icons'
// 每个图标导出的是 SVG 字符串,导出名与 SVG 文件名一致
console.log(LucideCopy) // '<svg>...</svg>'
添加新图标
- 将 SVG 文件放入
svgs/目录(文件名即导出名) - 运行
pnpm build
设计原则
- 文件名即导出名:SVG 文件名直接作为 export 名称
- 使用
currentColor以支持 CSS 颜色继承 - 图标来源:https://icones.js.org/
Related Packages
@noho-digital/remix-icons-svg
All ~3200 Remix Icons as importable SVG strings with framework wrapper component...
12,438
Version History
| Version | Released | License |
|---|---|---|
| 1.0.2 | MIT | |
| 1.0.1 | MIT | |
| 1.0.0 | MIT | |
| 0.3.10 | MIT | |
| 0.3.9 | MIT | |
| 0.3.8 | MIT | |
| 0.3.7 | MIT | |
| 0.3.6 | MIT | |
| 0.3.5 | MIT | |
| 0.3.4 | MIT | |
| 0.3.3 | MIT | |
| 0.3.2 | MIT | |
| 0.3.1 | MIT | |
| 0.3.0 | MIT |
Pre-releases (2)
| Version | Released | License |
|---|---|---|
| 0.4.0-alpha.2 | MIT | |
| 0.4.0-alpha.1 | MIT |