ICONYZ
English
Vector Square icon from Font Awesome 5 Solid

Vector Square icon

fa-solid:vector-square

The Vector Square icon (fa-solid:vector-square) is a free SVG icon from the Font Awesome 5 Solid set by Dave Gandy. It is drawn on a 512 × 512 grid. Font Awesome 5 Solid icons are released under the CC BY 4.0 license, which allows use in personal and commercial projects as long as you credit the author. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.

Icon set
Font Awesome 5 Solid
Author
Dave Gandy
License
CC-BY-4.0
Size
512 × 512
Category
Design
Tags
vectorsquare
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="512" height="512" viewBox="0 0 512 512"><path fill="currentColor" d="M512 128V32c0-17.67-14.33-32-32-32h-96c-17.67 0-32 14.33-32 32H160c0-17.67-14.33-32-32-32H32C14.33 0 0 14.33 0 32v96c0 17.67 14.33 32 32 32v192c-17.67 0-32 14.33-32 32v96c0 17.67 14.33 32 32 32h96c17.67 0 32-14.33 32-32h192c0 17.67 14.33 32 32 32h96c17.67 0 32-14.33 32-32v-96c0-17.67-14.33-32-32-32V160c17.67 0 32-14.33 32-32m-96-64h32v32h-32zM64 64h32v32H64zm32 384H64v-32h32zm352 0h-32v-32h32zm-32-96h-32c-17.67 0-32 14.33-32 32v32H160v-32c0-17.67-14.33-32-32-32H96V160h32c17.67 0 32-14.33 32-32V96h192v32c0 17.67 14.33 32 32 32h32z"/></svg>

How to use the Vector Square icon

React

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

<Icon icon="fa-solid:vector-square" width="24" />

Vue

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

<template>
  <Icon icon="fa-solid:vector-square" width="24" />
</template>

Svelte

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

<Icon icon="fa-solid:vector-square" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[fa-solid--vector-square]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/fa-solid -->
<div class="i-fa-solid:vector-square"></div>

Web component

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

<iconify-icon icon="fa-solid:vector-square"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/fa-solid/vector-square.svg" alt="Vector Square icon" width="24" height="24">

Vector Square icon in other icon sets

Vector Square icon FAQ

Is the Vector Square icon free for commercial use?

Yes. Font Awesome 5 Solid icons are released under the CC BY 4.0 license, which allows use in personal and commercial projects as long as you credit the author.

How do I use the Vector Square icon in React?

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

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

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

Browse all Font Awesome 5 Solid icons →