Facebook icon
uiw:facebook
The Facebook icon (uiw:facebook) is a free SVG icon from the uiw icons set by liwen0526. It is drawn on a 20 × 20 grid. uiw 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.
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><path fill="currentColor" fill-rule="evenodd" d="M18.896 0H1.104C.494 0 0 .494 0 1.104v17.792C0 19.506.494 20 1.104 20h9.578v-7.745H8.076V9.237h2.606V7.01c0-2.584 1.578-3.99 3.883-3.99c1.104 0 2.052.082 2.329.119v2.7h-1.598c-1.254 0-1.496.596-1.496 1.47v1.927h2.989l-.39 3.018h-2.6V20h5.097c.61 0 1.104-.494 1.104-1.104V1.104C20 .494 19.506 0 18.896 0"/></svg>How to use the Facebook icon
React
import { Icon } from "@iconify/react";
<Icon icon="uiw:facebook" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="uiw:facebook" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="uiw:facebook" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[uiw--facebook]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/uiw -->
<div class="i-uiw:facebook"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="uiw:facebook"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/uiw/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. uiw icons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Facebook icon in React?
Install @iconify/react and render <Icon icon="uiw: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/uiw/facebook.svg" alt="Facebook icon">, or paste the SVG code inline to style it with CSS.