X Square 20 Bold icon
energy-icons:x-square-20-bold
The X Square 20 Bold icon (energy-icons:x-square-20-bold) is a free SVG icon from the Energy Icons set by Sam Passmore. It is drawn on a 20 × 20 grid. Energy 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
- Energy Icons
- Author
- Sam Passmore
- License
- MIT
- Size
- 20 × 20
- Tags
- xsquare, squarebold, xsquarebold
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><path fill="currentColor" d="M16.875 4.583c0-.805-.653-1.458-1.458-1.458H4.583c-.805 0-1.458.653-1.458 1.458v10.834c0 .805.653 1.458 1.458 1.458h10.834c.805 0 1.458-.653 1.458-1.458zm1.25 10.834a2.71 2.71 0 0 1-2.708 2.708H4.583a2.71 2.71 0 0 1-2.708-2.708V4.583a2.71 2.71 0 0 1 2.708-2.708h10.834a2.71 2.71 0 0 1 2.708 2.708z"/><path fill="currentColor" d="M6.64 6.641a.626.626 0 0 1 .886 0l5.833 5.834a.625.625 0 0 1-.884.884L6.64 7.526a.626.626 0 0 1 0-.885"/><path fill="currentColor" d="M12.475 6.64a.625.625 0 0 1 .884.886l-5.833 5.833a.626.626 0 0 1-.885-.884z"/></svg>How to use the X Square 20 Bold icon
React
import { Icon } from "@iconify/react";
<Icon icon="energy-icons:x-square-20-bold" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="energy-icons:x-square-20-bold" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="energy-icons:x-square-20-bold" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[energy-icons--x-square-20-bold]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/energy-icons -->
<div class="i-energy-icons:x-square-20-bold"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="energy-icons:x-square-20-bold"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/energy-icons/x-square-20-bold.svg" alt="X Square 20 Bold icon" width="24" height="24">Related icons in Energy Icons
X Square 20 Bold icon FAQ
Is the X Square 20 Bold icon free for commercial use?
Yes. Energy Icons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the X Square 20 Bold icon in React?
Install @iconify/react and render <Icon icon="energy-icons:x-square-20-bold" />, or use “Copy code” on this page to get a standalone React component.
How do I add the X Square 20 Bold icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/energy-icons/x-square-20-bold.svg" alt="X Square 20 Bold icon">, or paste the SVG code inline to style it with CSS.