Twitter icon
cib:twitter
The Twitter icon (cib:twitter) is a free SVG icon from the CoreUI Brands set by creativeLabs Łukasz Holeczek. It is drawn on a 32 × 32 grid. CoreUI Brands icons are released under the CC0 1.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
- CoreUI Brands
- Author
- creativeLabs Łukasz Holeczek
- License
- CC0-1.0
- Size
- 32 × 32
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32"><path fill="currentColor" d="M31.937 6.093a13.4 13.4 0 0 1-3.765 1.032a6.6 6.6 0 0 0 2.885-3.631a13.7 13.7 0 0 1-4.172 1.579a6.56 6.56 0 0 0-11.178 5.973c-5.453-.255-10.287-2.875-13.52-6.833a6.46 6.46 0 0 0-.891 3.303a6.56 6.56 0 0 0 2.916 5.457a6.5 6.5 0 0 1-2.968-.817v.079a6.57 6.57 0 0 0 5.26 6.437a6.8 6.8 0 0 1-1.724.229c-.421 0-.823-.041-1.224-.115a6.59 6.59 0 0 0 6.14 4.557a13.17 13.17 0 0 1-8.135 2.801a13 13 0 0 1-1.563-.088a18.66 18.66 0 0 0 10.079 2.948c12.067 0 18.661-9.995 18.661-18.651c0-.276 0-.557-.021-.839a13.1 13.1 0 0 0 3.281-3.396z"/></svg>How to use the Twitter icon
React
import { Icon } from "@iconify/react";
<Icon icon="cib:twitter" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="cib:twitter" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="cib:twitter" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[cib--twitter]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/cib -->
<div class="i-cib:twitter"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="cib:twitter"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/cib/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. CoreUI Brands icons are released under the CC0 1.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="cib: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/cib/twitter.svg" alt="Twitter icon">, or paste the SVG code inline to style it with CSS.