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>

编辑推荐精选

讯飞智文

讯飞智文

一键生成PPT和Word,让学习生活更轻松

讯飞智文是一个利用 AI 技术的项目,能够帮助用户生成 PPT 以及各类文档。无论是商业领域的市场分析报告、年度目标制定,还是学生群体的职业生涯规划、实习避坑指南,亦或是活动策划、旅游攻略等内容,它都能提供支持,帮助用户精准表达,轻松呈现各种信息。

AI办公办公工具AI工具讯飞智文AI在线生成PPTAI撰写助手多语种文档生成AI自动配图热门
讯飞星火

讯飞星火

深度推理能力全新升级,全面对标OpenAI o1

科大讯飞的星火大模型,支持语言理解、知识问答和文本创作等多功能,适用于多种文件和业务场景,提升办公和日常生活的效率。讯飞星火是一个提供丰富智能服务的平台,涵盖科技资讯、图像创作、写作辅助、编程解答、科研文献解读等功能,能为不同需求的用户提供便捷高效的帮助,助力用户轻松获取信息、解决问题,满足多样化使用场景。

热门AI开发模型训练AI工具讯飞星火大模型智能问答内容创作多语种支持智慧生活
Spark-TTS

Spark-TTS

一种基于大语言模型的高效单流解耦语音令牌文本到语音合成模型

Spark-TTS 是一个基于 PyTorch 的开源文本到语音合成项目,由多个知名机构联合参与。该项目提供了高效的 LLM(大语言模型)驱动的语音合成方案,支持语音克隆和语音创建功能,可通过命令行界面(CLI)和 Web UI 两种方式使用。用户可以根据需求调整语音的性别、音高、速度等参数,生成高质量的语音。该项目适用于多种场景,如有声读物制作、智能语音助手开发等。

Trae

Trae

字节跳动发布的AI编程神器IDE

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

AI工具TraeAI IDE协作生产力转型热门
咔片PPT

咔片PPT

AI助力,做PPT更简单!

咔片是一款轻量化在线演示设计工具,借助 AI 技术,实现从内容生成到智能设计的一站式 PPT 制作服务。支持多种文档格式导入生成 PPT,提供海量模板、智能美化、素材替换等功能,适用于销售、教师、学生等各类人群,能高效制作出高品质 PPT,满足不同场景演示需求。

讯飞绘文

讯飞绘文

选题、配图、成文,一站式创作,让内容运营更高效

讯飞绘文,一个AI集成平台,支持写作、选题、配图、排版和发布。高效生成适用于各类媒体的定制内容,加速品牌传播,提升内容营销效果。

热门AI辅助写作AI工具讯飞绘文内容运营AI创作个性化文章多平台分发AI助手
材料星

材料星

专业的AI公文写作平台,公文写作神器

AI 材料星,专业的 AI 公文写作辅助平台,为体制内工作人员提供高效的公文写作解决方案。拥有海量公文文库、9 大核心 AI 功能,支持 30 + 文稿类型生成,助力快速完成领导讲话、工作总结、述职报告等材料,提升办公效率,是体制打工人的得力写作神器。

openai-agents-python

openai-agents-python

OpenAI Agents SDK,助力开发者便捷使用 OpenAI 相关功能。

openai-agents-python 是 OpenAI 推出的一款强大 Python SDK,它为开发者提供了与 OpenAI 模型交互的高效工具,支持工具调用、结果处理、追踪等功能,涵盖多种应用场景,如研究助手、财务研究等,能显著提升开发效率,让开发者更轻松地利用 OpenAI 的技术优势。

Hunyuan3D-2

Hunyuan3D-2

高分辨率纹理 3D 资产生成

Hunyuan3D-2 是腾讯开发的用于 3D 资产生成的强大工具,支持从文本描述、单张图片或多视角图片生成 3D 模型,具备快速形状生成能力,可生成带纹理的高质量 3D 模型,适用于多个领域,为 3D 创作提供了高效解决方案。

3FS

3FS

一个具备存储、管理和客户端操作等多种功能的分布式文件系统相关项目。

3FS 是一个功能强大的分布式文件系统项目,涵盖了存储引擎、元数据管理、客户端工具等多个模块。它支持多种文件操作,如创建文件和目录、设置布局等,同时具备高效的事件循环、节点选择和协程池管理等特性。适用于需要大规模数据存储和管理的场景,能够提高系统的性能和可靠性,是分布式存储领域的优质解决方案。

下拉加载更多