Purple Square icon
fluent-emoji-high-contrast:purple-square
The Purple Square icon (fluent-emoji-high-contrast:purple-square) is a free SVG icon from the Fluent Emoji High Contrast set by Microsoft Corporation. It is drawn on a 32 × 32 grid. Fluent Emoji High Contrast 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 High Contrast
- Author
- Microsoft Corporation
- License
- MIT
- Size
- 32 × 32
- Category
- Symbols
- Tags
- purplesquare
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32"><path fill="currentColor" d="M31 28a3 3 0 0 1-3 3H4a3 3 0 0 1-3-3V4a3 3 0 0 1 3-3h24a3 3 0 0 1 3 3zm-3 1a1 1 0 0 0 1-1v-1.234L26.766 29zm-4.062 0L29 23.938v-2.172L21.766 29zm-5 0L29 18.938v-2.172L16.766 29zm-5 0L29 13.938v-2.172L11.766 29zm-5 0L29 8.938V6.766L6.766 29zm-4.999-.002L29 3.94A1 1 0 0 0 28 3h-.234L3 27.766V28a1 1 0 0 0 .94.998M3 24.938L24.938 3h-2.172L3 22.766zM19.938 3h-2.172L3 17.766v2.172zm-5 0h-2.172L3 12.766v2.172zm-5 0H7.766L3 7.766v2.172zm-5 0H4a1 1 0 0 0-1 1v.938z"/></svg>How to use the Purple Square icon
React
import { Icon } from "@iconify/react";
<Icon icon="fluent-emoji-high-contrast:purple-square" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="fluent-emoji-high-contrast:purple-square" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="fluent-emoji-high-contrast:purple-square" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[fluent-emoji-high-contrast--purple-square]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/fluent-emoji-high-contrast -->
<div class="i-fluent-emoji-high-contrast: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-high-contrast:purple-square"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/fluent-emoji-high-contrast/purple-square.svg" alt="Purple Square icon" width="24" height="24">Related icons in Fluent Emoji High Contrast
Purple Square icon in other icon sets
Purple Square icon FAQ
Is the Purple Square icon free for commercial use?
Yes. Fluent Emoji High Contrast 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-high-contrast: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-high-contrast/purple-square.svg" alt="Purple Square icon">, or paste the SVG code inline to style it with CSS.