ICONYZ
English
Facebook icon from Bootstrap Icons

Facebook icon

bi:facebook

The Facebook icon (bi:facebook) is a free SVG icon from the Bootstrap Icons set by The Bootstrap Authors. It is drawn on a 24 × 24 grid. Bootstrap 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
Bootstrap Icons
Author
The Bootstrap Authors
License
MIT
Size
24 × 24
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M16 8.049c0-4.446-3.582-8.05-8-8.05C3.58 0-.002 3.603-.002 8.05c0 4.017 2.926 7.347 6.75 7.951v-5.625h-2.03V8.05H6.75V6.275c0-2.017 1.195-3.131 3.022-3.131c.876 0 1.791.157 1.791.157v1.98h-1.009c-.993 0-1.303.621-1.303 1.258v1.51h2.218l-.354 2.326H9.25V16c3.824-.604 6.75-3.934 6.75-7.951"/></svg>

How to use the Facebook icon

React

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

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

Vue

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

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

Svelte

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

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

Tailwind CSS

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

UnoCSS

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

Web component

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

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

HTML image

<img src="https://iconyz.com/api/public/svg/bi/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. Bootstrap 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="bi: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/bi/facebook.svg" alt="Facebook icon">, or paste the SVG code inline to style it with CSS.

Browse all Bootstrap Icons →