ICONYZ
English
Vector Square icon from Huge Icons

Vector Square icon

hugeicons:vector-square

The Vector Square icon (hugeicons:vector-square) is a free SVG icon from the Huge Icons set by Hugeicons. It is drawn on a 24 × 24 grid. Huge Icons are released under the MIT 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
Huge Icons
Author
Hugeicons
License
MIT
Size
24 × 24
Tags
vectorsquare
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M18.5 8c.314 1.114.5 2.5.5 4s-.186 2.886-.5 4m-13-8c-.314 1.114-.5 2.5-.5 4s.186 2.886.5 4M8 5.5c1.114-.314 2.5-.5 4-.5s2.886.186 4 .5m-8 13c1.114.314 2.5.5 4 .5s2.886-.186 4-.5M4.61 7.962C4.803 8 5.035 8 5.5 8s.697 0 .89-.038A2 2 0 0 0 7.962 6.39C8 6.197 8 5.965 8 5.5s0-.697-.038-.89A2 2 0 0 0 6.39 3.038C6.197 3 5.965 3 5.5 3s-.697 0-.89.038A2 2 0 0 0 3.038 4.61C3 4.803 3 5.035 3 5.5s0 .697.038.89A2 2 0 0 0 4.61 7.962m13 0c.193.038.425.038.89.038s.697 0 .89-.038a2 2 0 0 0 1.572-1.572C21 6.197 21 5.965 21 5.5s0-.697-.038-.89a2 2 0 0 0-1.572-1.572C19.197 3 18.965 3 18.5 3s-.697 0-.89.038a2 2 0 0 0-1.572 1.572C16 4.803 16 5.035 16 5.5s0 .697.038.89a2 2 0 0 0 1.572 1.572m-13 13c.193.038.425.038.89.038s.697 0 .89-.038a2 2 0 0 0 1.572-1.572C8 19.197 8 18.965 8 18.5s0-.697-.038-.89a2 2 0 0 0-1.572-1.572C6.197 16 5.965 16 5.5 16s-.697 0-.89.038a2 2 0 0 0-1.572 1.572C3 17.803 3 18.035 3 18.5s0 .697.038.89a2 2 0 0 0 1.572 1.572m13 0c.193.038.425.038.89.038s.697 0 .89-.038a2 2 0 0 0 1.572-1.572c.038-.193.038-.425.038-.89s0-.697-.038-.89a2 2 0 0 0-1.572-1.572C19.197 16 18.965 16 18.5 16s-.697 0-.89.038a2 2 0 0 0-1.572 1.572c-.038.193-.038.425-.038.89s0 .697.038.89a2 2 0 0 0 1.572 1.572"/></svg>

How to use the Vector Square icon

React

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

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

Vue

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

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

Svelte

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

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

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="hugeicons:vector-square"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/hugeicons/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. Huge Icons are released under the MIT license, which allows use in personal and commercial projects.

How do I use the Vector Square icon in React?

Install @iconify/react and render <Icon icon="hugeicons: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/hugeicons/vector-square.svg" alt="Vector Square icon">, or paste the SVG code inline to style it with CSS.

Browse all Huge Icons →