Twitter icon
bytesize:twitter
The Twitter icon (bytesize:twitter) is a free SVG icon from the Bytesize Icons set by Dan Klammer. It is drawn on a 64 × 64 grid. Bytesize 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
- Bytesize Icons
- Author
- Dan Klammer
- License
- MIT
- Size
- 64 × 64
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 64 64"><path fill="currentColor" d="m60 16l-6 1l4-5l-7 2c-9-10-23 1-19 10C16 24 8 12 8 12s-6 9 4 16l-6-2c0 6 4 10 11 12h-7c4 8 11 8 11 8s-6 5-17 5c33 16 53-14 50-30Z"/></svg>How to use the Twitter icon
React
import { Icon } from "@iconify/react";
<Icon icon="bytesize:twitter" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="bytesize:twitter" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="bytesize:twitter" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[bytesize--twitter]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/bytesize -->
<div class="i-bytesize:twitter"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="bytesize:twitter"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/bytesize/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. Bytesize 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="bytesize: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/bytesize/twitter.svg" alt="Twitter icon">, or paste the SVG code inline to style it with CSS.