Twitter icon
fe:twitter
The Twitter icon (fe:twitter) is a free SVG icon from the Feather Icon set by Megumi Hano. It is drawn on a 24 × 24 grid. Feather Icon 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
- Feather Icon
- Author
- Megumi Hano
- License
- MIT
- Size
- 24 × 24
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M8.283 20.263c7.547 0 11.676-6.259 11.676-11.677q.002-.264-.008-.528A8.4 8.4 0 0 0 22 5.928a8.3 8.3 0 0 1-2.36.649a4.13 4.13 0 0 0 1.808-2.273a8.2 8.2 0 0 1-2.61.993A4.1 4.1 0 0 0 15.847 4a4.11 4.11 0 0 0-4.106 4.106c0 .32.04.632.104.936a11.65 11.65 0 0 1-8.46-4.29a4.115 4.115 0 0 0 1.273 5.482A4.15 4.15 0 0 1 2.8 9.722v.056a4.11 4.11 0 0 0 3.29 4.026a4 4 0 0 1-1.08.144q-.397 0-.77-.072a4.1 4.1 0 0 0 3.834 2.85a8.23 8.23 0 0 1-5.098 1.76c-.328 0-.656-.016-.976-.056a11.67 11.67 0 0 0 6.283 1.833"/></svg>How to use the Twitter icon
React
import { Icon } from "@iconify/react";
<Icon icon="fe:twitter" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="fe:twitter" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="fe:twitter" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[fe--twitter]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/fe -->
<div class="i-fe:twitter"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="fe:twitter"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/fe/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. Feather Icon icons are released under the MIT 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="fe: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/fe/twitter.svg" alt="Twitter icon">, or paste the SVG code inline to style it with CSS.