ICONYZ
English
Facebook icon from OpenMoji

Facebook icon

openmoji:facebook

The Facebook icon (openmoji:facebook) is a free SVG icon from the OpenMoji set. It is drawn on a 72 × 72 grid. OpenMoji icons are released under the CC BY-SA 4.0 license, which allows use in personal and commercial projects as long as you credit the author and share changes to the icons under the same license. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.

Icon set
OpenMoji
Author
OpenMoji
License
CC-BY-SA-4.0
Size
72 × 72
Category
Extras Openmoji
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="72" height="72" viewBox="0 0 72 72"><path fill="#61b2e4" d="M57 12H15a4 4 0 0 0-4 4v42a4 4 0 0 0 4 4h42a4 4 0 0 0 4-4V16a4 4 0 0 0-4-4"/><path fill="none" stroke="#fff" stroke-miterlimit="10" stroke-width="2" d="M36.935 62.009h9.5"/><path fill="#fff" d="M48.5 26.844h4.688v-7.031c-3.126 0-15.626-3.125-15.626 10.156v4.687h-6.25v7.813h6.25v18.564l7.813-.014V42.47h7.031l.781-7.813h-7.812V29.97c0-3.125 2.344-3.125 3.125-3.125"/><g fill="none" stroke="#000" stroke-width="2"><path stroke-miterlimit="10" d="M45.619 62h12.155A3.226 3.226 0 0 0 61 58.774V15.226A3.226 3.226 0 0 0 57.774 12H14.226A3.226 3.226 0 0 0 11 15.226v43.548A3.226 3.226 0 0 0 14.226 62h23.476"/><path stroke-linecap="round" stroke-linejoin="round" d="M45.618 62V42.208h7.125l.792-7.917h-7.917v-4.75c0-3.167 2.375-3.167 3.167-3.167h4.75V19.25c-3.2-.324-15.834-3.166-15.834 10.292v4.75h-6.333v7.917h6.333V62"/></g></svg>

How to use the Facebook icon

React

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

<Icon icon="openmoji:facebook" width="24" />

Vue

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

<template>
  <Icon icon="openmoji:facebook" width="24" />
</template>

Svelte

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

<Icon icon="openmoji:facebook" width="24" />

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="openmoji:facebook"></iconify-icon>

HTML image

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

Facebook icon in other icon sets

Facebook icon FAQ

Is the Facebook icon free for commercial use?

Yes. OpenMoji icons are released under the CC BY-SA 4.0 license, which allows use in personal and commercial projects as long as you credit the author and share changes to the icons under the same license.

How do I use the Facebook icon in React?

Install @iconify/react and render <Icon icon="openmoji: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/openmoji/facebook.svg" alt="Facebook icon">, or paste the SVG code inline to style it with CSS.

Browse all OpenMoji icons →