Facebook icon
bxl:facebook
The Facebook icon (bxl:facebook) is a free SVG icon from the Boxicons Brands set by Boxicons. It is drawn on a 24 × 24 grid. Boxicons Brands 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
- Boxicons Brands
- Author
- Boxicons
- 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" d="M13.397 20.997v-8.196h2.765l.411-3.209h-3.176V7.548c0-.926.258-1.56 1.587-1.56h1.684V3.127A22 22 0 0 0 14.201 3c-2.444 0-4.122 1.492-4.122 4.231v2.355H7.332v3.209h2.753v8.202z"/></svg>How to use the Facebook icon
React
import { Icon } from "@iconify/react";
<Icon icon="bxl:facebook" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="bxl:facebook" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="bxl:facebook" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[bxl--facebook]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/bxl -->
<div class="i-bxl:facebook"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="bxl:facebook"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/bxl/facebook.svg" alt="Facebook icon" width="24" height="24">Related icons in Boxicons Brands
Facebook icon in other icon sets
Facebook icon FAQ
Is the Facebook icon free for commercial use?
Yes. Boxicons Brands 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="bxl: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/bxl/facebook.svg" alt="Facebook icon">, or paste the SVG code inline to style it with CSS.