Twitter icon
selfhst:twitter
The Twitter icon (selfhst:twitter) is a free SVG icon from the selfh.st/icons set by selfh.st. It is drawn on a 512 × 512 grid. selfh.st/icons are released under the CC BY 4.0 license, which allows use in personal and commercial projects as long as you credit the author. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.
- Icon set
- selfh.st/icons
- Author
- selfh.st
- License
- CC-BY-4.0
- Size
- 512 × 512
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="512" height="512" viewBox="0 0 512 512"><path fill="#1d9bf0" d="M459.6 151.6c.3 4.5.3 9 .3 13.6C459.9 303.9 354.2 464 161 464v-.1c-57.1.1-113-16.2-161-47.1c8.3 1 16.6 1.5 25 1.5c47.3 0 93.2-15.8 130.5-45.1c-44.9-.9-84.4-30.2-98.1-72.9c15.7 3 32 2.4 47.4-1.8c-49-9.9-84.3-53-84.3-103v-1.3c14.6 8.1 31 12.6 47.7 13.1C22 176.6 7.8 115.2 35.7 67.1c53.3 65.6 132 105.5 216.5 109.7c-8.5-36.5 3.1-74.7 30.4-100.4c42.3-39.8 108.8-37.7 148.6 4.6c23.5-4.6 46.1-13.3 66.7-25.5c-7.8 24.3-24.3 45-46.2 58.1c20.8-2.5 41.2-8 60.3-16.5c-14.1 21.2-31.9 39.6-52.4 54.5"/></svg>How to use the Twitter icon
React
import { Icon } from "@iconify/react";
<Icon icon="selfhst:twitter" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="selfhst:twitter" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="selfhst:twitter" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[selfhst--twitter]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/selfhst -->
<div class="i-selfhst:twitter"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="selfhst:twitter"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/selfhst/twitter.svg" alt="Twitter icon" width="24" height="24">Related icons in selfh.st/icons
Twitter icon in other icon sets
Twitter icon FAQ
Is the Twitter icon free for commercial use?
Yes. selfh.st/icons are released under the CC BY 4.0 license, which allows use in personal and commercial projects as long as you credit the author.
How do I use the Twitter icon in React?
Install @iconify/react and render <Icon icon="selfhst: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/selfhst/twitter.svg" alt="Twitter icon">, or paste the SVG code inline to style it with CSS.