ICONYZ
English
Twitter icon from Grommet Icons

Twitter icon

grommet-icons:twitter

The Twitter icon (grommet-icons:twitter) is a free SVG icon from the Grommet Icons set by Grommet. It is drawn on a 24 × 24 grid. Grommet Icons are released under the Apache 2.0 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
Grommet Icons
Author
Grommet
License
Apache-2.0
Size
24 × 24
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" fill-rule="evenodd" d="M24 4.309a9.8 9.8 0 0 1-2.828.775a4.94 4.94 0 0 0 2.165-2.724a9.9 9.9 0 0 1-3.127 1.196a4.925 4.925 0 0 0-8.39 4.49A13.97 13.97 0 0 1 1.671 2.9a4.9 4.9 0 0 0-.667 2.476c0 1.708.869 3.216 2.191 4.099A4.94 4.94 0 0 1 .964 8.86v.06a4.926 4.926 0 0 0 3.95 4.829a5 5 0 0 1-2.224.085a4.93 4.93 0 0 0 4.6 3.42a9.9 9.9 0 0 1-6.115 2.107q-.597 0-1.175-.068a13.95 13.95 0 0 0 7.548 2.212c9.057 0 14.009-7.503 14.009-14.01q0-.32-.014-.636A10 10 0 0 0 24 4.309"/></svg>

How to use the Twitter icon

React

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

<Icon icon="grommet-icons:twitter" width="24" />

Vue

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

<template>
  <Icon icon="grommet-icons:twitter" width="24" />
</template>

Svelte

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

<Icon icon="grommet-icons:twitter" width="24" />

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="grommet-icons:twitter"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/grommet-icons/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. Grommet Icons are released under the Apache 2.0 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="grommet-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/grommet-icons/twitter.svg" alt="Twitter icon">, or paste the SVG code inline to style it with CSS.

Browse all Grommet Icons →