Twitter icon
whh:twitter
The Twitter icon (whh:twitter) is a free SVG icon from the WebHostingHub Glyphs set by WebHostingHub. It is drawn on a 1024 × 832 grid. WebHostingHub Glyphs icons are released under the Open Font 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
- WebHostingHub Glyphs
- Author
- WebHostingHub
- License
- OFL-1.1
- Size
- 1024 × 832
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="1024" height="832" viewBox="0 0 1024 832"><path fill="currentColor" d="M1024 128q-91 0-121 4q58-35 89-132q-9 6-29.5 19t-33 20.5T898 55t-36 11Q800 0 709 0q-92 0-144.5 38.5T512 160q0 4-1 27t-1 42.5t2 26.5q-134-7-237-53T96 64q-32 55-32 96q0 57 16 94.5t56 64.5q-40 1-72 1q0 152 146 181q-27 8-56 8q-20 0-39-4q19 61 76.5 97.5T320 640q-23 23-54 37t-71 19.5t-65 6.5t-66 1q-4 0-29 1.5T0 706q27 52 110.5 89T322 832q112 0 207.5-36.5t162-97.5T805 558t69-164t22-170q0-3 9.5-5.5T930 211t31.5-13.5t34-26.5t28.5-43"/></svg>How to use the Twitter icon
React
import { Icon } from "@iconify/react";
<Icon icon="whh:twitter" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="whh:twitter" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="whh:twitter" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[whh--twitter]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/whh -->
<div class="i-whh:twitter"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="whh:twitter"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/whh/twitter.svg" alt="Twitter icon" width="24" height="24">Twitter icon in other icon sets
Twitter icon FAQ
Is the Twitter icon free for commercial use?
Yes. WebHostingHub Glyphs icons are released under the Open Font License, which allows use in personal and commercial projects.
How do I use the Twitter icon in React?
Install @iconify/react and render <Icon icon="whh:twitter" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Twitter icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/whh/twitter.svg" alt="Twitter icon">, or paste the SVG code inline to style it with CSS.