Twitter icon
dinkie-icons:twitter
The Twitter icon (dinkie-icons:twitter) is a free SVG icon from the Dinkie Icons set by atelierAnchor. It is drawn on a 12 × 12 grid. Dinkie 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
- Dinkie Icons
- Author
- atelierAnchor
- License
- MIT
- Size
- 12 × 12
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 12 12"><path fill="currentColor" d="M9 9H8v1h1Zm0 0h1V6h1V5h-1V4h1V3H9Zm-8 2h2v-1H1Zm2 1h4v-1H3Zm0-2h1V9H3ZM2 9h1V8H2ZM1 8h1V6H1ZM0 6h1V4h1V3H1V2H0Zm7 5h1v-1H7ZM2 5h4V3H5v1H2Zm4-2h3V2H6Zm0 0"/></svg>How to use the Twitter icon
React
import { Icon } from "@iconify/react";
<Icon icon="dinkie-icons:twitter" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="dinkie-icons:twitter" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="dinkie-icons:twitter" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[dinkie-icons--twitter]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/dinkie-icons -->
<div class="i-dinkie-icons:twitter"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="dinkie-icons:twitter"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/dinkie-icons/twitter.svg" alt="Twitter icon" width="24" height="24">Related icons in Dinkie Icons
Twitter icon in other icon sets
Twitter icon FAQ
Is the Twitter icon free for commercial use?
Yes. Dinkie 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="dinkie-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/dinkie-icons/twitter.svg" alt="Twitter icon">, or paste the SVG code inline to style it with CSS.