Facebook icon
fe:facebook
The Facebook icon (fe:facebook) is a free SVG icon from the Feather Icon set by Megumi Hano. It is drawn on a 24 × 24 grid. Feather Icon 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
- Feather Icon
- Author
- Megumi Hano
- License
- MIT
- Size
- 24 × 24
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" fill-rule="evenodd" d="M15.725 22v-7.745h2.6l.389-3.018h-2.99V9.31c0-.874.243-1.47 1.497-1.47h1.598v-2.7a21 21 0 0 0-2.33-.12c-2.304 0-3.881 1.407-3.881 3.99v2.227H10v3.018h2.607V22H3.104C2.494 22 2 21.506 2 20.896V3.104C2 2.494 2.494 2 3.104 2h17.792C21.506 2 22 2.494 22 3.104v17.792c0 .61-.494 1.104-1.104 1.104z"/></svg>How to use the Facebook icon
React
import { Icon } from "@iconify/react";
<Icon icon="fe:facebook" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="fe:facebook" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="fe:facebook" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[fe--facebook]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/fe -->
<div class="i-fe:facebook"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="fe:facebook"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/fe/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. Feather Icon 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="fe: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/fe/facebook.svg" alt="Facebook icon">, or paste the SVG code inline to style it with CSS.