ICONYZ
English
Purple Square icon from Fluent Emoji

Purple Square icon

fluent-emoji:purple-square

The Purple Square icon (fluent-emoji:purple-square) is a free SVG icon from the Fluent Emoji set by Microsoft Corporation. It is drawn on a 32 × 32 grid. Fluent Emoji 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
Fluent Emoji
Author
Microsoft Corporation
License
MIT
Size
32 × 32
Tags
purplesquare
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32"><g fill="none"><g filter="url(#iFjFF5n)"><path fill="url(#imGETQb)" d="M2 4a2 2 0 0 1 2-2h24a2 2 0 0 1 2 2v24a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2z"/></g><defs><linearGradient id="imGETQb" x1="16" x2="16" y1="2" y2="30" gradientUnits="userSpaceOnUse"><stop stop-color="#7C47C1"/><stop offset="1" stop-color="#664BB5"/></linearGradient><filter id="iFjFF5n" width="30" height="29" x="1" y="1" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape"/><feColorMatrix in="SourceAlpha" result="hardAlpha" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"/><feOffset dy="-1"/><feGaussianBlur stdDeviation=".5"/><feComposite in2="hardAlpha" k2="-1" k3="1" operator="arithmetic"/><feColorMatrix values="0 0 0 0 0.352941 0 0 0 0 0.192157 0 0 0 0 0.698039 0 0 0 1 0"/><feBlend in2="shape" result="effect1_innerShadow_18590_3220"/><feColorMatrix in="SourceAlpha" result="hardAlpha" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"/><feOffset dx="-1"/><feGaussianBlur stdDeviation=".5"/><feComposite in2="hardAlpha" k2="-1" k3="1" operator="arithmetic"/><feColorMatrix values="0 0 0 0 0.545098 0 0 0 0 0.384314 0 0 0 0 0.803922 0 0 0 1 0"/><feBlend in2="effect1_innerShadow_18590_3220" result="effect2_innerShadow_18590_3220"/><feColorMatrix in="SourceAlpha" result="hardAlpha" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"/><feOffset dx="1"/><feGaussianBlur stdDeviation=".5"/><feComposite in2="hardAlpha" k2="-1" k3="1" operator="arithmetic"/><feColorMatrix values="0 0 0 0 0.309804 0 0 0 0 0.235294 0 0 0 0 0.596078 0 0 0 1 0"/><feBlend in2="effect2_innerShadow_18590_3220" result="effect3_innerShadow_18590_3220"/></filter></defs></g></svg>

How to use the Purple Square icon

React

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

<Icon icon="fluent-emoji:purple-square" width="24" />

Vue

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

<template>
  <Icon icon="fluent-emoji:purple-square" width="24" />
</template>

Svelte

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

<Icon icon="fluent-emoji:purple-square" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[fluent-emoji--purple-square]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/fluent-emoji -->
<div class="i-fluent-emoji:purple-square"></div>

Web component

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

<iconify-icon icon="fluent-emoji:purple-square"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/fluent-emoji/purple-square.svg" alt="Purple Square icon" width="24" height="24">

Related icons in Fluent Emoji

Purple Square icon in other icon sets

Purple Square icon FAQ

Is the Purple Square icon free for commercial use?

Yes. Fluent Emoji icons are released under the MIT license, which allows use in personal and commercial projects.

How do I use the Purple Square icon in React?

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

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

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

Browse all Fluent Emoji icons →