ICONYZ
English
Github Square icon from Line Awesome

Github Square icon

la:github-square

The Github Square icon (la:github-square) is a free SVG icon from the Line Awesome set by Icons8. It is drawn on a 32 × 32 grid. Line Awesome icons are released under the Apache 2.0 license, which allows use in personal and commercial projects. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.

Icon set
Line Awesome
Author
Icons8
License
Apache-2.0
Size
32 × 32
Category
Other
Tags
githubsquare
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32"><path fill="currentColor" d="M5 5v22h22V5zm2 2h18v18H7zm8.908 2C11.99 9 9 11.975 9 15.885c0 3.133 1.967 5.815 4.783 6.758c.365.064.492-.16.492-.342c0-.174-.007-1.142-.007-1.737c0 0-1.985.428-2.397-.841c0 0-.323-.818-.783-1.032c0 0-.643-.443.047-.435c0 0 .699.056 1.088.73c.618 1.095 1.655.776 2.06.594c.063-.452.247-.77.453-.951c-1.579-.174-3.174-.404-3.174-3.117c0-.778.215-1.166.667-1.666c-.072-.183-.317-.944.072-1.92c.595-.183 1.951.761 1.951.761a7 7 0 0 1 1.775-.238a7 7 0 0 1 1.778.239s1.356-.944 1.95-.762c.389.984.142 1.738.071 1.92c.452.5.73.889.73 1.666c0 2.728-1.666 2.943-3.244 3.117c.262.222.485.642.485 1.308c0 .953-.008 2.136-.008 2.366c0 .182.127.403.484.34C21.088 21.699 23 19.018 23 15.885C23 11.975 19.827 9 15.908 9m-4.345 9.486c-.056-.016-.104-.006-.12.026s.007.077.063.11c.048.023.103.016.119-.024c.016-.032-.007-.08-.063-.112zm.253.237q-.04-.011-.072.017c-.04.032-.032.095.016.15c.048.04.11.064.15.024c.04-.032.033-.094-.015-.15a.2.2 0 0 0-.079-.041m.297.367a.1.1 0 0 0-.084.008c-.048.032-.048.105 0 .168s.12.094.16.062c.047-.032.047-.112 0-.174a.15.15 0 0 0-.076-.064m.325.396a.09.09 0 0 0-.083.032c-.039.04-.023.117.04.173c.063.064.141.074.181.026c.04-.032.017-.12-.039-.176a.2.2 0 0 0-.1-.055zm.544.317c-.07-.016-.157.006-.173.062s.04.121.119.137c.07.032.158-.002.174-.057c.024-.055-.033-.118-.12-.142m1.07.025c-.078.016-.134.072-.126.135c.008.055.087.086.166.07c.087-.016.143-.07.127-.127c-.008-.056-.086-.087-.166-.078zm-.523.063c-.088 0-.15.047-.15.103c0 .063.063.112.158.104c.088 0 .15-.048.15-.104c0-.064-.078-.111-.158-.103"/></svg>

How to use the Github Square icon

React

import { Icon } from "@iconify/react";

<Icon icon="la:github-square" width="24" />

Vue

<script setup>
import { Icon } from "@iconify/vue";
</script>

<template>
  <Icon icon="la:github-square" width="24" />
</template>

Svelte

<script>
  import Icon from "@iconify/svelte";
</script>

<Icon icon="la:github-square" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[la--github-square]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/la -->
<div class="i-la:github-square"></div>

Web component

<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>

<iconify-icon icon="la:github-square"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/la/github-square.svg" alt="Github Square icon" width="24" height="24">

Related icons in Line Awesome

Github Square icon in other icon sets

Github Square icon FAQ

Is the Github Square icon free for commercial use?

Yes. Line Awesome icons are released under the Apache 2.0 license, which allows use in personal and commercial projects.

How do I use the Github Square icon in React?

Install @iconify/react and render <Icon icon="la:github-square" />, or use “Copy code” on this page to get a standalone React component.

How do I add the Github Square icon to a web page?

Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/la/github-square.svg" alt="Github Square icon">, or paste the SVG code inline to style it with CSS.

Browse all Line Awesome icons →