ICONYZ
English
Facebook icon from Font Awesome 6 Brands

Facebook icon

fa6-brands:facebook

The Facebook icon (fa6-brands:facebook) is a free SVG icon from the Font Awesome 6 Brands set by Dave Gandy. It is drawn on a 512 × 512 grid. Font Awesome 6 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 6 Brands
Author
Dave Gandy
License
CC-BY-4.0
Size
512 × 512
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="512" height="512" viewBox="0 0 512 512"><path fill="currentColor" d="M512 256C512 114.6 397.4 0 256 0S0 114.6 0 256c0 120 82.7 220.8 194.2 248.5V334.2h-52.8V256h52.8v-33.7c0-87.1 39.4-127.5 125-127.5c16.2 0 44.2 3.2 55.7 6.4V172c-6-.6-16.5-1-29.6-1c-42 0-58.2 15.9-58.2 57.2V256h83.6l-14.4 78.2H287v175.9C413.8 494.8 512 386.9 512 256"/></svg>

How to use the Facebook icon

React

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

<Icon icon="fa6-brands:facebook" width="24" />

Vue

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

<template>
  <Icon icon="fa6-brands:facebook" width="24" />
</template>

Svelte

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

<Icon icon="fa6-brands:facebook" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[fa6-brands--facebook]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/fa6-brands -->
<div class="i-fa6-brands:facebook"></div>

Web component

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

<iconify-icon icon="fa6-brands:facebook"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/fa6-brands/facebook.svg" alt="Facebook icon" width="24" height="24">

Related icons in Font Awesome 6 Brands

Facebook icon in other icon sets

Facebook icon FAQ

Is the Facebook icon free for commercial use?

Yes. Font Awesome 6 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 Facebook icon in React?

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

How do I add the Facebook icon to a web page?

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

Browse all Font Awesome 6 Brands icons →