ICONYZ
English
Twitter icon from Material Line Icons

Twitter icon

line-md:twitter

The Twitter icon (line-md:twitter) is a free SVG icon from the Material Line Icons set by Vjacheslav Trushkin. It is drawn on a 24 × 24 grid. Material Line 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
Material Line Icons
Author
Vjacheslav Trushkin
License
MIT
Size
24 × 24
Category
Social
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="none" stroke="currentColor" stroke-dasharray="62" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M19.89 7.34c-0.09 0.33 -0.49 1.16 -1.17 1.95c-0.45 8.68 -8.87 11.5 -14.64 8.59c-0.79 -1.05 2.85 -0.62 4.18 -2.63c-5.03 -2.57 -4.63 -9.44 -3.62 -9.16c2.37 3.19 6.19 3.48 6.81 3.19c0 -0.73 -0.31 -2.32 1.41 -3.65c0.99 -0.71 3.06 -1.34 4.93 0.69c0.32 0.21 0.78 0.3 1.47 0.15c0.41 -0.21 0.95 -0.07 0.67 0.66Z"><animate fill="freeze" attributeName="stroke-dashoffset" dur="0.6s" values="62;0"/></path></svg>

How to use the Twitter icon

React

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

<Icon icon="line-md:twitter" width="24" />

Vue

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

<template>
  <Icon icon="line-md:twitter" width="24" />
</template>

Svelte

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

<Icon icon="line-md:twitter" width="24" />

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="line-md:twitter"></iconify-icon>

HTML image

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

Related icons in Material Line Icons

Twitter icon in other icon sets

Twitter icon FAQ

Is the Twitter icon free for commercial use?

Yes. Material Line 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="line-md: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/line-md/twitter.svg" alt="Twitter icon">, or paste the SVG code inline to style it with CSS.

Browse all Material Line Icons →