Discord icon
lineicons:discord
The Discord icon (lineicons:discord) is a free SVG icon from the Lineicons set. It is drawn on a 24 × 24 grid. Lineicons 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.
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M18.942 5.555a16.3 16.3 0 0 0-4.126-1.296a12 12 0 0 0-.529 1.097a15.2 15.2 0 0 0-4.573 0A12 12 0 0 0 9.18 4.26c-1.448.25-2.834.692-4.129 1.3c-2.611 3.946-3.319 7.794-2.965 11.587a16.5 16.5 0 0 0 5.06 2.593q.613-.841 1.084-1.785a10.7 10.7 0 0 1-1.706-.83q.215-.16.418-.331c3.29 1.539 6.866 1.539 10.118 0q.206.171.418.33a10.6 10.6 0 0 1-1.71.833a13 13 0 0 0 1.084 1.785a16.5 16.5 0 0 0 5.064-2.595c.415-4.398-.71-8.21-2.973-11.59M8.678 14.813c-.988 0-1.798-.922-1.798-2.045s.792-2.047 1.798-2.047c1.005 0 1.815.922 1.798 2.047c.001 1.123-.793 2.045-1.798 2.045m6.644 0c-.988 0-1.798-.922-1.798-2.045s.793-2.047 1.798-2.047c1.006 0 1.816.922 1.798 2.047c0 1.123-.793 2.045-1.798 2.045"/></svg>How to use the Discord icon
React
import { Icon } from "@iconify/react";
<Icon icon="lineicons:discord" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="lineicons:discord" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="lineicons:discord" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[lineicons--discord]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/lineicons -->
<div class="i-lineicons:discord"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="lineicons:discord"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/lineicons/discord.svg" alt="Discord icon" width="24" height="24">Related icons in Lineicons
Discord icon in other icon sets
Discord icon FAQ
Is the Discord icon free for commercial use?
Yes. Lineicons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Discord icon in React?
Install @iconify/react and render <Icon icon="lineicons:discord" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Discord icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/lineicons/discord.svg" alt="Discord icon">, or paste the SVG code inline to style it with CSS.