facebook icon
facebook from css.gg by Astrit · Outline · MIT Free for personal and commercial use.
- Name
- Set
- css.gg
- Style
- Outline
- Viewbox
- 24×24
- License
- MIT
The same icon in other sets
facebook-fillAkar Iconsfacebook-filledAnt Design IconsfacebookBootstrap IconsfacebookBoxicons BrandsfacebookCoreUI BrandsfacebookDeviconfacebook-fillEva IconsfacebookFont Awesome 6 BrandsfacebookFont Awesome BrandsfacebookFeather Iconsfacebook-solidFlowbite IconsfacebookIconParkfacebookIconPark OutlinefacebookIconPark SolidfacebookIconPark TwoTonefacebookIconoirfacebookJam IconsfacebookLine AwesomefacebookMaterial Line IconsfacebookSVG LogosfacebookLucidefacebookMage IconsfacebookMaterial Design Iconsfacebook-fillMingCute Icon
Use the facebook icon
SVG
<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="currentColor" d="M9.198 21.5h4v-8.01h3.604l.396-3.98h-4V7.5a1 1 0 0 1 1-1h3v-4h-3a5 5 0 0 0-5 5v2.01h-2l-.396 3.98h2.396z"/></svg>
React
import type { SVGProps } from "react";
export function GgFacebook(props: SVGProps<SVGSVGElement>) {
return (
<svg {...props} xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="currentColor" d="M9.198 21.5h4v-8.01h3.604l.396-3.98h-4V7.5a1 1 0 0 1 1-1h3v-4h-3a5 5 0 0 0-5 5v2.01h-2l-.396 3.98h2.396z"/></svg>
);
}
Vue
<template> <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="currentColor" d="M9.198 21.5h4v-8.01h3.604l.396-3.98h-4V7.5a1 1 0 0 1 1-1h3v-4h-3a5 5 0 0 0-5 5v2.01h-2l-.396 3.98h2.396z"/></svg> </template>
CSS
.icon-facebook {
width: 24px;
height: 24px;
background-color: currentColor;
-webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221em%22%20height%3D%221em%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M9.198%2021.5h4v-8.01h3.604l.396-3.98h-4V7.5a1%201%200%200%201%201-1h3v-4h-3a5%205%200%200%200-5%205v2.01h-2l-.396%203.98h2.396z%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221em%22%20height%3D%221em%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M9.198%2021.5h4v-8.01h3.604l.396-3.98h-4V7.5a1%201%200%200%201%201-1h3v-4h-3a5%205%200%200%200-5%205v2.01h-2l-.396%203.98h2.396z%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
}Direct links: SVG · download · JSON · https://iconsdb.app/api/v1/icon/gg/facebook.svg?color=%231a73e8&size=48