ICONYZ
English
Twitter icon from Font Awesome 4

Twitter icon

fa:twitter

The Twitter icon (fa:twitter) is a free SVG icon from the Font Awesome 4 set by Dave Gandy. It is drawn on a 1600 × 1280 grid. Font Awesome 4 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
Font Awesome 4
Author
Dave Gandy
License
OFL-1.1
Size
1600 × 1280
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="1600" height="1280" viewBox="0 0 1600 1280"><path fill="currentColor" d="M1588 152q-67 98-162 167q1 14 1 42q0 130-38 259.5T1273.5 869T1089 1079.5t-258 146t-323 54.5q-271 0-496-145q35 4 78 4q225 0 401-138q-105-2-188-64.5T189 777q33 5 61 5q43 0 85-11q-112-23-185.5-111.5T76 454v-4q68 38 146 41q-66-44-105-115T78 222q0-88 44-163q121 149 294.5 238.5T788 397q-8-38-8-74q0-134 94.5-228.5T1103 0q140 0 236 102q109-21 205-78q-37 115-142 178q93-10 186-50"/></svg>

How to use the Twitter icon

React

import { Icon } from "@iconify/react";

<Icon icon="fa:twitter" width="24" />

Vue

<script setup>
import { Icon } from "@iconify/vue";
</script>

<template>
  <Icon icon="fa:twitter" width="24" />
</template>

Svelte

<script>
  import Icon from "@iconify/svelte";
</script>

<Icon icon="fa:twitter" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[fa--twitter]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/fa -->
<div class="i-fa:twitter"></div>

Web component

<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>

<iconify-icon icon="fa:twitter"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/fa/twitter.svg" alt="Twitter icon" width="24" height="24">

Related icons in Font Awesome 4

Twitter icon in other icon sets

Twitter icon FAQ

Is the Twitter icon free for commercial use?

Yes. Font Awesome 4 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="fa: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/fa/twitter.svg" alt="Twitter icon">, or paste the SVG code inline to style it with CSS.

Browse all Font Awesome 4 icons →