跳到主要内容
网站首页

图标库

← Font Awesome 5 Brands
github-square

github-square

github-square

作者
Dave Gandy

正在读取图标颜色…

使用场景

颜色与描边跟随预览参数实时变化,以下为常见界面中的渲染效果。

按钮内

输入框

搜索github-square...

导航

github-square

空状态

暂无内容

场景预览

桌面 / 浏览器 / 按钮 / 导航栏

手机桌面 · App 图标

9:41
github-square

浏览器 · 标签页与站点

6d21aab7d388f358.example
github-square开始使用

操作按钮 · 主次层级

github-square
了解更多

底部导航 · Tab 栏

github-square
推荐收藏我的

UI 使用示例

真实组件上下文中的渲染效果,代码可直接复制。

导航项

导航菜单

导航菜单
html
<a href="#" class="flex items-center gap-2.5 rounded-lg px-3 py-2 text-sm text-neutral-700 hover:bg-neutral-100 dark:text-neutral-200 dark:hover:bg-neutral-800">
  <!-- 内联 github-square SVG -->
  <span>导航菜单</span>
</a>

主要按钮

立即开始

html
<button class="inline-flex items-center gap-2 rounded-lg bg-neutral-900 px-4 py-2 text-sm font-medium text-white dark:bg-neutral-100 dark:text-neutral-900">
  <!-- 内联 github-square SVG -->
  立即开始
</button>

React 组件

内联引入

react
import { githubsquareIcon } from './icons';

function Nav() {
  return <githubsquareIcon className="size-4" />;
}

状态徽标

已完成

已完成
html
<span class="inline-flex items-center gap-1.5 rounded-full bg-neutral-100 px-2.5 py-1 text-xs font-medium text-neutral-700">
  <!-- 内联 github-square SVG -->
  已完成
</span>

输入框前缀

搜索框

搜索github-square…
html
<div class="flex items-center gap-2 rounded-lg border border-neutral-200 px-3 py-2 text-sm">
  <!-- 内联 github-square SVG -->
  <input placeholder="搜索github-square…" class="w-full outline-none" />
</div>

功能卡片

功能名称

功能名称

功能的一句话说明。

html
<div class="rounded-xl border border-neutral-200 p-4">
  <span class="flex size-9 items-center justify-center rounded-lg bg-neutral-900 text-white">
    <!-- 内联 github-square SVG -->
  </span>
  <p class="mt-3 text-sm font-medium">功能名称</p>
  <p class="mt-1 text-xs text-neutral-500">功能的一句话说明。</p>
</div>

动效图标

为 github-square 添加 CSS 动效,导出的 SVG 内嵌样式,单文件即可播放,无需任何依赖。

描画

线条从无到有依次绘出,适合线性图标

.icon-6d21aab7d388f358 { stroke-dasharray: 1; animation: svg-draw 1.2s forwards; }

呼吸

透明度往复渐变,适合状态提示图标

.icon-6d21aab7d388f358 { animation: svg-breathe 1.8s infinite; }

旋转

匀速循环旋转,适合加载中场景

.icon-6d21aab7d388f358 { animation: svg-spin 1.6s linear infinite; }

用法示例

github-square 在真实界面中的三种常见用法。

继续下一步

按钮内
16px · action 触发

github-square

导航项
18px · 列表选中态

暂无数据

空状态
40px · 引导提示

各尺寸下的 github-square

24px 到 128px 六个常用尺寸的真实渲染,用于检查小尺寸下的可读性。

24px

32px

48px

64px

96px

128px

下载 github-square 图标

SVG 矢量文件、PNG 位图(预设 16~512px 或自定义 16~1024px)、Favicon 包、App 图标包(iOS + Android)与矢量 PDF 一键导出;下载前可在下方「预览参数」改色,导出文件同步生效。

按预览颜色导出px(16~1024)

复制 github-square 图标代码

Web、移动端、桌面端与小程序共 17 种格式;代码基于当前预览颜色生成,复制即用。

svg
<svg viewBox="0 0 448 512" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><path d="M400 32H48C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48M277.3 415.7c-8.4 1.5-11.5-3.7-11.5-8c0-5.4.2-33 .2-55.3c0-15.6-5.2-25.5-11.3-30.7c37-4.1 76-9.2 76-73.1c0-18.2-6.5-27.3-17.1-39c1.7-4.3 7.4-22-1.7-45c-13.9-4.3-45.7 17.9-45.7 17.9c-13.2-3.7-27.5-5.6-41.6-5.6s-28.4 1.9-41.6 5.6c0 0-31.8-22.2-45.7-17.9c-9.1 22.9-3.5 40.6-1.7 45c-10.6 11.7-15.6 20.8-15.6 39c0 63.6 37.3 69 74.3 73.1c-4.8 4.3-9.1 11.7-10.6 22.3c-9.5 4.3-33.8 11.7-48.3-13.9c-9.1-15.8-25.5-17.1-25.5-17.1c-16.2-.2-1.1 10.2-1.1 10.2c10.8 5 18.4 24.2 18.4 24.2c9.7 29.7 56.1 19.7 56.1 19.7c0 13.9.2 36.5.2 40.6c0 4.3-3 9.5-11.5 8c-66-22.1-112.2-84.9-112.2-158.3c0-91.8 70.2-161.5 162-161.5S388 165.6 388 257.4c.1 73.4-44.7 136.3-110.7 158.3m-98.1-61.1c-1.9.4-3.7-.4-3.9-1.7c-.2-1.5 1.1-2.8 3-3.2c1.9-.2 3.7.6 3.9 1.9c.3 1.3-1 2.6-3 3m-9.5-.9c0 1.3-1.5 2.4-3.5 2.4c-2.2.2-3.7-.9-3.7-2.4c0-1.3 1.5-2.4 3.5-2.4c1.9-.2 3.7.9 3.7 2.4m-13.7-1.1c-.4 1.3-2.4 1.9-4.1 1.3c-1.9-.4-3.2-1.9-2.8-3.2s2.4-1.9 4.1-1.5c2 .6 3.3 2.1 2.8 3.4m-12.3-5.4c-.9 1.1-2.8.9-4.3-.6c-1.5-1.3-1.9-3.2-.9-4.1c.9-1.1 2.8-.9 4.3.6c1.3 1.3 1.8 3.3.9 4.1m-9.1-9.1c-.9.6-2.6 0-3.7-1.5s-1.1-3.2 0-3.9c1.1-.9 2.8-.2 3.7 1.3c1.1 1.5 1.1 3.3 0 4.1m-6.5-9.7c-.9.9-2.4.4-3.5-.6c-1.1-1.3-1.3-2.8-.4-3.5c.9-.9 2.4-.4 3.5.6c1.1 1.3 1.3 2.8.4 3.5m-6.7-7.4c-.4.9-1.7 1.1-2.8.4c-1.3-.6-1.9-1.7-1.5-2.6c.4-.6 1.5-.9 2.8-.4c1.3.7 1.9 1.8 1.5 2.6" fill="currentColor"></path></svg>

预览参数

调整颜色、描边或开启轮廓化,使用场景与用法示例实时跟随。

风格变体

细线 · 1.2px · 密集布局

常规 · 2px · 通用界面

加粗 · 3.5px · 大尺寸标题

关于 github-square 图标

github-square 是通用分类下的矢量图标(SVG 格式),矢量特性意味着任意缩放不失真,适配网页、App、演示文稿与印刷物料。该品牌在所属行业的官方标识。

在本页点击「下载」即可保存 github-square 的 SVG 矢量文件,或在下载面板中选择 PNG(16~512px)与 Favicon 包等导出方式;也可以直接复制 SVG 源码、Data URI 或 React/Vue 组件代码。

github-square 的品牌标志与名称版权归其品牌方所有,本站内容仅供学习与设计识别参考,请勿用于商标注册或误导性用途;商用前请确认品牌官方的使用规范与授权要求。文件体积 1.55 KB,viewBox 为 0 0 448 512,共 1 个矢量图元。

常见问题

github-square 图标是什么?

github-square 是通用分类下的矢量图标(SVG 格式),矢量特性意味着任意缩放不失真,适配网页、App、演示文稿与印刷物料。

如何下载 github-square 图标?

在本页点击「下载 SVG」即可保存 github-square 的矢量文件,或在下载面板中选择 PNG(16~512px)与 Favicon 包等导出方式;也可以直接复制 SVG 源码、Data URI 或 React/Vue 组件代码。

github-square 图标可以商用吗?

github-square 为品牌标志,版权归品牌方所有,本站内容仅供识别参考;商用前请先确认对应品牌的使用规范与授权要求。

如何修改 github-square 图标的颜色?

在「预览参数」面板中调整颜色与描边宽度,使用场景与用法示例会实时跟随,确认效果后再复制或下载即可。

SVG 健康报告

100/100

同时含 width/height 与 viewBox,可仅保留 viewBox 以自适应容器

文件体积

1.55 KB

1,586 字节

viewBox

0 0 448 512

同时含 width/height 与 viewBox,可仅保留 viewBox 以自适应容器

图元总数

1

<path> ×1

风格

单色轮廓

无显式填色,跟随容器 currentColor

图标信息摘要

github-square 是一个通用类别的单文件 SVG 矢量图标,文件体积 1.55 KB,协议为™ 品牌商标(版权归品牌方,仅供识别参考)。可在本站免费下载 github-square的 SVG 源文件与 PNG 位图(16-512px),支持自定义颜色与描边宽度、一键生成 Favicon 包,并提供 React / Vue 组件代码与 Data URI 引用。

继续探索

相关搜索

暂无推荐

github-square 在其他图标库

同名不同风格的版本,点击查看与下载

Command Palette

Search for a command to run...