Stack Exchange icon
thesvg:stack-exchange
The Stack Exchange icon (thesvg:stack-exchange) is a free SVG icon from the theSVG set by thesvg.org. It is drawn on a 24 × 24 grid. theSVG 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
- theSVG
- Author
- thesvg.org
- License
- MIT
- Size
- 24 × 24
- Tags
- stackexchange
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M21.728 15.577v1.036c0 1.754-1.395 3.177-3.1 3.177h-.904L13.645 24v-4.21H5.371c-1.704 0-3.099-1.423-3.099-3.181v-1.032zM2.275 10.463h19.323v3.979H2.275zm0-5.141h19.323v3.979H2.275zM18.575 0c1.681 0 3.023 1.42 3.023 3.178v1.034H2.275V3.178C2.275 1.422 3.67 0 5.375 0z"/></svg>How to use the Stack Exchange icon
React
import { Icon } from "@iconify/react";
<Icon icon="thesvg:stack-exchange" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="thesvg:stack-exchange" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="thesvg:stack-exchange" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[thesvg--stack-exchange]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/thesvg -->
<div class="i-thesvg:stack-exchange"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="thesvg:stack-exchange"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/thesvg/stack-exchange.svg" alt="Stack Exchange icon" width="24" height="24">Related icons in theSVG
Stack Exchange icon in other icon sets
Stack Exchange icon FAQ
Is the Stack Exchange icon free for commercial use?
Yes. theSVG icons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Stack Exchange icon in React?
Install @iconify/react and render <Icon icon="thesvg:stack-exchange" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Stack Exchange icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/thesvg/stack-exchange.svg" alt="Stack Exchange icon">, or paste the SVG code inline to style it with CSS.