Twitter icon
griddy-icons:twitter
The Twitter icon (griddy-icons:twitter) is a free SVG icon from the Griddy Icons set by Zuzana Benova. It is drawn on a 24 × 24 grid. Griddy 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
- Griddy Icons
- Author
- Zuzana Benova
- 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="M4.294 3.378a9.24 9.24 0 0 0 8.21 4.107A4.247 4.247 0 0 1 16.745 3.5c1.084 0 2.073.405 2.823 1.072l1.534-.958l.796 1.272l-1.398.873q.063.119.118.241H22v1.5h-1.013q.008.124.008.25H21C21 15.07 15.07 21 7.75 21c-1.116 0-2.209-.138-3.25-.403l-2.527-.645l2.483-.797a7.26 7.26 0 0 0 2.957-1.821A10.75 10.75 0 0 1 1.995 8c0-1.616.354-3.15.995-4.522l.564-1.207zM16.745 5a2.747 2.747 0 0 0-2.73 3.09l.079.728l-.727.095q-.683.088-1.372.087C8.76 9 5.863 7.57 3.893 5.314a9.26 9.26 0 0 0 5.023 11.108l.855.39l-.57.748a8.7 8.7 0 0 1-2.036 1.924q.291.016.585.016c6.49 0 11.75-5.26 11.75-11.75h-.005c0-1.52-1.23-2.75-2.75-2.75"/></svg>How to use the Twitter icon
React
import { Icon } from "@iconify/react";
<Icon icon="griddy-icons:twitter" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="griddy-icons:twitter" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="griddy-icons:twitter" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[griddy-icons--twitter]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/griddy-icons -->
<div class="i-griddy-icons:twitter"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="griddy-icons:twitter"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/griddy-icons/twitter.svg" alt="Twitter icon" width="24" height="24">Related icons in Griddy Icons
Twitter icon in other icon sets
Twitter icon FAQ
Is the Twitter icon free for commercial use?
Yes. Griddy 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="griddy-icons: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/griddy-icons/twitter.svg" alt="Twitter icon">, or paste the SVG code inline to style it with CSS.