ICONYZ
English
Twitter icon from OpenMoji

Twitter icon

openmoji:twitter

The Twitter icon (openmoji:twitter) is a free SVG icon from the OpenMoji set. It is drawn on a 72 × 72 grid. OpenMoji icons are released under the CC BY-SA 4.0 license, which allows use in personal and commercial projects as long as you credit the author and share changes to the icons under the same license. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.

Icon set
OpenMoji
Author
OpenMoji
License
CC-BY-SA-4.0
Size
72 × 72
Category
Extras Openmoji
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="72" height="72" viewBox="0 0 72 72"><path fill="#61b2e4" d="M58.042 16.667s-2.584 2.083-6.209 2.458c0 0-5.708-6.375-13.875-.833c-3.666 2.583-4 8.041-3.375 10c0 0-11.083.875-20.75-10.459c0 0-4.333 7.5 2.834 13.5c0 0-2.119.334-4.132-1.333c0 0-.952 7.75 7.715 9.917c0 0-.583 1-4.083 0c0 0 .583 6.333 8.833 7.25c0 0-4.457 4.583-14.478 4c0 0 16.561 12.416 34.478-2.584c10-8.5 9.667-20.75 9.5-22.583c0 0 3.95-3 4.975-4.917c0 0-3.058 1-5.558 1c0 0 3.333-1.75 4.125-5.416"/><path fill="none" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" stroke-width="2" d="M58.042 16.667s-2.584 2.083-6.209 2.458c0 0-5.708-6.375-13.875-.833c-3.666 2.583-4 8.041-3.375 10c0 0-11.083.875-20.75-10.459c0 0-4.333 7.5 2.834 13.5c0 0-2.119.334-4.132-1.333c0 0-.952 7.75 7.715 9.917c0 0-.583 1-4.083 0c0 0 .583 6.333 8.833 7.25c0 0-4.457 4.583-14.478 4c0 0 16.561 12.416 34.478-2.584c10-8.5 9.667-20.75 9.5-22.583c0 0 3.95-3 4.975-4.917c0 0-3.058 1-5.558 1c0 0 3.333-1.75 4.125-5.416"/></svg>

How to use the Twitter icon

React

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

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

Vue

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

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

Svelte

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

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

Tailwind CSS

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

UnoCSS

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

Web component

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

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

HTML image

<img src="https://iconyz.com/api/public/svg/openmoji/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. OpenMoji icons are released under the CC BY-SA 4.0 license, which allows use in personal and commercial projects as long as you credit the author and share changes to the icons under the same license.

How do I use the Twitter icon in React?

Install @iconify/react and render <Icon icon="openmoji: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/openmoji/twitter.svg" alt="Twitter icon">, or paste the SVG code inline to style it with CSS.

Browse all OpenMoji icons →