simple-icons

simple-icons

流行品牌SVG图标库 , 免费开源超3100个

Simple Icons 是一个开源的SVG图标库,收录了3100多个流行品牌的图标。开发者可在官网浏览下载,也可通过CDN、npm等方式使用。项目支持图标颜色自定义,拥有活跃社区,欢迎贡献新图标。此外,Simple Icons 还提供多种第三方工具和库的扩展支持,方便开发者在各种环境中使用。

Simple IconsSVG图标开源项目品牌图标图标库Github
<p align="center"> <img src="https://cdn.simpleicons.org/simpleicons/000/fff" alt="Simple Icons" width=70> <h3 align="center">Simple Icons</h3> <p align="center"> 超过3100个免费的品牌SVG图标。在<a href="https://simpleicons.org">SimpleIcons.org</a>上可以在一个页面上查看所有图标。欢迎在GitHub上提供贡献、修正和请求。</p> </p> <p align="center"> <a href="https://github.com/simple-icons/simple-icons/actions?query=workflow%3AVerify+branch%3Adevelop"><img src="https://img.shields.io/github/actions/workflow/status/simple-icons/simple-icons/verify.yml?branch=develop&logo=github&label=tests" alt="构建状态"/></a> <a href="https://www.npmjs.com/package/simple-icons"><img src="https://yellow-cdn.veclightyear.com/835a84d5/8db7e14e-688f-4021-b907-1f3dd3938e7a.svg?logo=npm" alt="NPM版本"/></a> <a href="https://packagist.org/packages/simple-icons/simple-icons"><img src="https://img.shields.io/packagist/v/simple-icons/simple-icons?logo=packagist&logoColor=white" alt="构建状态"/></a> <br/> <a href="https://simpleicons.org"><img src="https://img.shields.io/badge/dynamic/json?color=informational&label=icons&prefix=%20&logo=simpleicons&query=%24.icons.length&url=https%3A%2F%2Fraw.githubusercontent.com%2Fsimple-icons%2Fsimple-icons%2Fdevelop%2F_data%2Fsimple-icons.json" alt="当前库中的图标数量"/></a> <a href="https://discord.gg/vUXFa7t5xJ"><img src="https://img.shields.io/discord/1142044630909726760?logo=discord&logoColor=white&label=discord" alt="Discord服务器中活跃用户数" /></a> <a href="https://opencollective.com/simple-icons"><img src="https://img.shields.io/opencollective/all/simple-icons?logo=opencollective" alt="Open Collective上的支持者和赞助商"/></a> </p>

使用方法

[!重要]
我们要求所有用户在使用Simple Icons的图标之前阅读我们的法律免责声明

一般用法

可以直接从我们的网站下载SVG格式的图标 - 只需点击想要的图标的下载按钮,下载就会自动开始。

CDN用法

图标可以通过CDN服务如jsDelivrUnpkg提供。只需使用simple-icons npm包,并在URL中指定版本,如下所示:

<img height="32" width="32" src="https://cdn.jsdelivr.net/npm/simple-icons@v13/icons/[图标别名].svg" /> <img height="32" width="32" src="https://unpkg.com/simple-icons@v13/icons/[图标别名].svg" />

其中[图标别名]替换为您想使用的图标的[别名],例如:

<img height="32" width="32" src="https://yellow-cdn.veclightyear.com/835a84d5/6871e262-c66d-4976-b6c4-3805ecd6616d.svg" /> <img height="32" width="32" src="https://yellow-cdn.veclightyear.com/835a84d5/a16ef106-930a-4cd9-8968-0b41255c2783.svg" />

这些示例使用最新的主要版本。这意味着您在下一个主要版本发布后将不会收到任何更新。您可以使用@latest来无限期接收更新。但是,如果图标被移除,这将导致404错误。

带颜色的CDN

我们还提供了一个允许您使用颜色的CDN服务。

<img height="32" width="32" src="https://cdn.simpleicons.org/[图标别名]" /> <img height="32" width="32" src="https://cdn.simpleicons.org/[图标别名]/[颜色]" /> <img height="32" width="32" src="https://cdn.simpleicons.org/[图标别名]/[颜色]/[深色模式颜色]" />

其中[颜色]是可选的,可以替换为您想使用的图标的十六进制颜色CSS关键字。颜色默认为simpleicons.org网站上显示的图标的HEX颜色。[深色模式颜色]用于深色模式。当指定值时,将使用CSS prefers-color-scheme。例如:

<img height="32" width="32" src="https://cdn.simpleicons.org/simpleicons" /> <img height="32" width="32" src="https://cdn.simpleicons.org/simpleicons/gray" /> <img height="32" width="32" src="https://cdn.simpleicons.org/simpleicons/hotpink" /> <img height="32" width="32" src="https://cdn.simpleicons.org/simpleicons/0cf" /> <img height="32" width="32" src="https://cdn.simpleicons.org/simpleicons/0cf9" /> <img height="32" width="32" src="https://cdn.simpleicons.org/simpleicons/00ccff" /> <img height="32" width="32" src="https://cdn.simpleicons.org/simpleicons/00ccff99" /> <img height="32" width="32" src="https://cdn.simpleicons.org/simpleicons/orange/pink" /> <img height="32" width="32" src="https://cdn.simpleicons.org/simpleicons/_/eee" /> <img height="32" width="32" src="https://cdn.simpleicons.org/simpleicons/eee/_" />

您可以使用viewbox=auto参数来获取自动大小的视图框。如果您希望所有图标以一致的大小渲染,这很有用:

<img height="20" src="https://cdn.simpleicons.org/github?viewbox=auto" /> <img height="20" src="https://cdn.simpleicons.org/simpleicons?viewbox=auto" /> <img height="20" src="https://cdn.simpleicons.org/awesomelists?viewbox=auto" />

Node使用 <img src="https://cdn.simpleicons.org/nodedotjs/000/fff" alt="Node" align=left width=24>

图标也可以通过我们的npm包获取。安装只需运行:

npm install simple-icons

所有图标都从单个文件导入,其中[图标别名]替换为大写的[别名]。我们强烈建议使用可以进行树摇(tree shake)的打包工具,如webpack,以移除未使用的图标代码:

// 通过别名导入特定图标: // import { si[图标别名] } from 'simple-icons' // 例如: // 使用import/esm以允许树摇 import { siSimpleicons } from 'simple-icons'; // 或使用require/cjs const { siSimpleicons } = require('simple-icons');

它将返回一个图标对象:

console.log(siSimpleicons); /* { title: 'Simple Icons', slug: 'simpleicons', hex: '111111', source: 'https://simpleicons.org/', svg: '<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">...</svg>', path: 'M12 12v-1.5c-2.484 ...', guidelines: 'https://simpleicons.org/styleguide', license: { type: '...', url: 'https://example.com/' } } 注意:如果我们还没有该图标的指南,`guidelines`条目将为`undefined`。 注意:如果我们还没有该图标的许可数据,`license`条目将为`undefined`。 */

如果需要遍历所有图标,请使用:

import * as icons from 'simple-icons';

TypeScript使用 <img src="https://cdn.simpleicons.org/typescript/000/fff" alt="Typescript" align=left width=19 height=19>

类型定义与包一起捆绑。

import type { SimpleIcon } from 'simple-icons';

PHP使用 <img src="https://cdn.simpleicons.org/php/000/fff" alt="Php" align=left width=24 height=24>

图标也可以通过我们的Packagist包获取。安装只需运行:

composer require simple-icons/simple-icons

然后可以按如下方式使用该包,其中[图标别名]替换为[别名]:

<?php // 通过别名导入特定图标: echo file_get_contents('path/to/package/icons/[图标别名].svg'); // 例如: echo file_get_contents('path/to/package/icons/simpleicons.svg'); // <svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">...</svg> ?>

第三方扩展

以下是已知的第三方工具扩展。

扩展作者
Blender 插件 <img src="https://cdn.simpleicons.org/blender/000/fff" alt="Blender" align=left width=24 height=24>@mondeja
Boxy SVG 库 <img src="https://cdn.simpleicons.org/boxysvg/000/fff" alt="Boxy SVG" align=left width=24 height=24>@Jarek
Drawio 库 <img src="https://cdn.simpleicons.org/diagramsdotnet/000/fff" alt="Drawio" align=left width=24 height=24>@mondeja
Figma 插件 <img src="https://cdn.simpleicons.org/figma/000/fff" alt="Figma" align=left width=24 height=24>@LitoMore
Miro 应用 <img src="https://cdn.simpleicons.org/miro/000/fff" alt="Miro" align=left width=24 height=24>@LitoMore
Raycast 扩展 <img src="https://cdn.simpleicons.org/raycast/000/fff" alt="Raycast" align=left width=24 height=24>@LitoMore
Stream Deck 图标包 <img src="https://cdn.simpleicons.org/elgato/000/fff" alt="Stream Deck" align=left width=24 height=24>@mackenly
Webflow 应用 <img src="https://cdn.simpleicons.org/webflow/000/fff" alt="Webflow" align=left width=24 height=24>@diegoliv

维护一个扩展?提交PR将其添加到上面的列表中。

第三方库

以下是已知的可用于您自己项目的第三方库。我们只保留至少与我们上一个主要版本保持更新的项目。

作者许可证Simple Icons 版本
Astro 包 <img src="https://cdn.simpleicons.org/astro/000/fff" alt="Astro" align=left width=24 height=24>@Aviortheking
Blazor Nuget 包 <img src="https://cdn.simpleicons.org/blazor/000/fff" alt="Blazor" align=left width=24 height=24>@TimeWarpEngineering
Flutter 包 <img src="https://cdn.simpleicons.org/flutter/000/fff" alt="Flutter" align=left width=24 height=24>@jlnrrg
Framer 组件 <img src="https://cdn.simpleicons.org/framer/000/fff" alt="Framer" align=left width=24 height=24>@LitoMore
Hugo 模块 <img src="https://cdn.simpleicons.org/hugo/000/fff" alt="Hugo" align=left width=24 height=24>@foo-dogsquared
Kirby 插件 <img src="https://cdn.simpleicons.org/kirby/000/fff" alt="Kirby" align=left width=24 height=24>@runxel
LaTeX 包 <img src="https://cdn.simpleicons.org/latex/000/fff" alt="LaTeX" align=left width=24 height=24>@ineshbose
Laravel 包 <img src="https://cdn.simpleicons.org/laravel/000/fff" alt="Laravel" align=left width=24 height=24>@adrian-ub
React 包 <img src="https://cdn.simpleicons.org/react/000/fff" alt="React" align=left width=24 height=24>@wootsbot
Ruby gem <img src="https://cdn.simpleicons.org/rubygems/000/fff" alt="Ruby" align=left width=24 height=24>@thepew
Svelte 包 <img src="https://cdn.simpleicons.org/svelte/000/fff" alt="Svelte" align=left width=24 height=24>@wootsbot
Vue 3 包 <img src="https://cdn.simpleicons.org/vuedotjs/000/fff" alt="Vue" align=left width=24 height=24>@wyatt-herkamp

维护一个库?提交 PR 将其添加到上面的列表中。

贡献

关于如何贡献的信息可以在 CONTRIBUTING.md 文件中找到。

贡献者

<a href="https://github.com/simple-icons/simple-icons/graphs/contributors"> <img src="https://yellow-cdn.veclightyear.com/835a84d5/f52601a3-ad2c-4f58-a0c9-d966b59cd7df.svg?width=890&button=false" /> </a>

编辑推荐精选

扣子-AI办公

扣子-AI办公

职场AI,就用扣子

AI办公助手,复杂任务高效处理。办公效率低?扣子空间AI助手支持播客生成、PPT制作、网页开发及报告写作,覆盖科研、商业、舆情等领域的专家Agent 7x24小时响应,生活工作无缝切换,提升50%效率!

堆友

堆友

多风格AI绘画神器

堆友平台由阿里巴巴设计团队创建,作为一款AI驱动的设计工具,专为设计师提供一站式增长服务。功能覆盖海量3D素材、AI绘画、实时渲染以及专业抠图,显著提升设计品质和效率。平台不仅提供工具,还是一个促进创意交流和个人发展的空间,界面友好,适合所有级别的设计师和创意工作者。

图像生成AI工具AI反应堆AI工具箱AI绘画GOAI艺术字堆友相机AI图像热门
码上飞

码上飞

零代码AI应用开发平台

零代码AI应用开发平台,用户只需一句话简单描述需求,AI能自动生成小程序、APP或H5网页应用,无需编写代码。

Vora

Vora

免费创建高清无水印Sora视频

Vora是一个免费创建高清无水印Sora视频的AI工具

Refly.AI

Refly.AI

最适合小白的AI自动化工作流平台

无需编码,轻松生成可复用、可变现的AI自动化工作流

酷表ChatExcel

酷表ChatExcel

大模型驱动的Excel数据处理工具

基于大模型交互的表格处理系统,允许用户通过对话方式完成数据整理和可视化分析。系统采用机器学习算法解析用户指令,自动执行排序、公式计算和数据透视等操作,支持多种文件格式导入导出。数据处理响应速度保持在0.8秒以内,支持超过100万行数据的即时分析。

AI工具酷表ChatExcelAI智能客服AI营销产品使用教程
TRAE编程

TRAE编程

AI辅助编程,代码自动修复

Trae是一种自适应的集成开发环境(IDE),通过自动化和多元协作改变开发流程。利用Trae,团队能够更快速、精确地编写和部署代码,从而提高编程效率和项目交付速度。Trae具备上下文感知和代码自动完成功能,是提升开发效率的理想工具。

AI工具TraeAI IDE协作生产力转型热门
AIWritePaper论文写作

AIWritePaper论文写作

AI论文写作指导平台

AIWritePaper论文写作是一站式AI论文写作辅助工具,简化了选题、文献检索至论文撰写的整个过程。通过简单设定,平台可快速生成高质量论文大纲和全文,配合图表、参考文献等一应俱全,同时提供开题报告和答辩PPT等增值服务,保障数据安全,有效提升写作效率和论文质量。

AI辅助写作AI工具AI论文工具论文写作智能生成大纲数据安全AI助手热门
博思AIPPT

博思AIPPT

AI一键生成PPT,就用博思AIPPT!

博思AIPPT,新一代的AI生成PPT平台,支持智能生成PPT、AI美化PPT、文本&链接生成PPT、导入Word/PDF/Markdown文档生成PPT等,内置海量精美PPT模板,涵盖商务、教育、科技等不同风格,同时针对每个页面提供多种版式,一键自适应切换,完美适配各种办公场景。

AI办公办公工具AI工具博思AIPPTAI生成PPT智能排版海量精品模板AI创作热门
潮际好麦

潮际好麦

AI赋能电商视觉革命,一站式智能商拍平台

潮际好麦深耕服装行业,是国内AI试衣效果最好的软件。使用先进AIGC能力为电商卖家批量提供优质的、低成本的商拍图。合作品牌有Shein、Lazada、安踏、百丽等65个国内外头部品牌,以及国内10万+淘宝、天猫、京东等主流平台的品牌商家,为卖家节省将近85%的出图成本,提升约3倍出图效率,让品牌能够快速上架。

下拉加载更多