ICONYZ
English
Twitter Square icon from Font Awesome 5 Brands

Twitter Square icon

fa-brands:twitter-square

The Twitter Square icon (fa-brands:twitter-square) is a free SVG icon from the Font Awesome 5 Brands set by Dave Gandy. It is drawn on a 448 × 512 grid. Font Awesome 5 Brands icons are released under the CC BY 4.0 license, which allows use in personal and commercial projects as long as you credit the author. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.

Icon set
Font Awesome 5 Brands
Author
Dave Gandy
License
CC-BY-4.0
Size
448 × 512
Tags
twittersquare
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="448" height="512" viewBox="0 0 448 512"><path fill="currentColor" d="M400 32H48C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48m-48.9 158.8c.2 2.8.2 5.7.2 8.5c0 86.7-66 186.6-186.6 186.6c-37.2 0-71.7-10.8-100.7-29.4c5.3.6 10.4.8 15.8.8c30.7 0 58.9-10.4 81.4-28c-28.8-.6-53-19.5-61.3-45.5c10.1 1.5 19.2 1.5 29.6-1.2c-30-6.1-52.5-32.5-52.5-64.4v-.8c8.7 4.9 18.9 7.9 29.6 8.3a65.45 65.45 0 0 1-29.2-54.6c0-12.2 3.2-23.4 8.9-33.1c32.3 39.8 80.8 65.8 135.2 68.6c-9.3-44.5 24-80.6 64-80.6c18.9 0 35.9 7.9 47.9 20.7c14.8-2.8 29-8.3 41.6-15.8c-4.9 15.2-15.2 28-28.8 36.1c13.2-1.4 26-5.1 37.8-10.2c-8.9 13.1-20.1 24.7-32.9 34"/></svg>

How to use the Twitter Square icon

React

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

<Icon icon="fa-brands:twitter-square" width="24" />

Vue

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

<template>
  <Icon icon="fa-brands:twitter-square" width="24" />
</template>

Svelte

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

<Icon icon="fa-brands:twitter-square" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[fa-brands--twitter-square]"></span>

UnoCSS

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

Web component

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

<iconify-icon icon="fa-brands:twitter-square"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/fa-brands/twitter-square.svg" alt="Twitter Square icon" width="24" height="24">

Related icons in Font Awesome 5 Brands

Twitter Square icon in other icon sets

Twitter Square icon FAQ

Is the Twitter Square icon free for commercial use?

Yes. Font Awesome 5 Brands icons are released under the CC BY 4.0 license, which allows use in personal and commercial projects as long as you credit the author.

How do I use the Twitter Square icon in React?

Install @iconify/react and render <Icon icon="fa-brands:twitter-square" />, or use “Copy code” on this page to get a standalone React component.

How do I add the Twitter Square icon to a web page?

Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/fa-brands/twitter-square.svg" alt="Twitter Square icon">, or paste the SVG code inline to style it with CSS.

Browse all Font Awesome 5 Brands icons →