# brand-facebook icon

Brand facebook. Gentleface icon, drawn on the 16 px pixel grid. Free, MIT licensed. Page: https://gentleface.com/icons/brand-facebook

- Category: Brands
- Use it for: brand facebook, fb, facebook logo
- Tags: brand, logo, social
- Family: brand-facebook-circle, brand-facebook-square
- Component name: BrandFacebookIcon
- Added: 2026-11-21
- Since: version 0.8.0
- npm: `import { BrandFacebookIcon } from '@gentleface/react';` (@gentleface/react 0.8.0)
- Changed: 2026-11-22 (released in 0.8.0)

## Alternatives

- `brand-facebook-square`: the mark in its square, as an app icon or in a row of profile links
- `brand-facebook-circle`: the mark knocked out of Facebook's own circle

## Trademark

Facebook logo, a trademark of its owner. Built from Wikimedia Commons File:2023_Facebook_icon.svg.

Brand icons (brand-*) are trademarks of their respective owners. They are included only to represent those companies, products or services, for example a link to an account or a "sign in with" button. Their inclusion implies no endorsement by, or affiliation with, the owners. The MIT licence covers our drawings only and grants no trademark rights: using a brand icon is subject to that brand's guidelines, which you must follow. To have a mark removed, write to https://gentleface.com/feedback.

## Files

Each icon is drawn on the 16 px grid, and most also on the 20 and 24 px grids (at 24 in three weights: light 1 px, regular 1.5 px, bold 2 px). Show the drawing made for your size, or an exact multiple of it, on whole pixels: 16 for 16 and 32 px, 20 for 20 and 40, 24 for 24 and 48. A size in between or a fractional position blurs it. The code on each icon page is the 16 px drawing, an SVG with fill="currentColor"; the icon page's downloads follow its Grid switch, and npm has the 20 and 24 px drawings too.

- line-round: https://gentleface.com/svg/line-round/16/brand-facebook.svg · PNG https://gentleface.com/png/line-round/16/brand-facebook.png · https://gentleface.com/png/line-round/32/brand-facebook.png · https://gentleface.com/png/line-round/48/brand-facebook.png
- line-soft: https://gentleface.com/svg/line-soft/16/brand-facebook.svg · PNG https://gentleface.com/png/line-soft/16/brand-facebook.png · https://gentleface.com/png/line-soft/32/brand-facebook.png · https://gentleface.com/png/line-soft/48/brand-facebook.png
- line-sharp: https://gentleface.com/svg/line-sharp/16/brand-facebook.svg · PNG https://gentleface.com/png/line-sharp/16/brand-facebook.png · https://gentleface.com/png/line-sharp/32/brand-facebook.png · https://gentleface.com/png/line-sharp/48/brand-facebook.png
- solid-round: https://gentleface.com/svg/solid-round/16/brand-facebook.svg · PNG https://gentleface.com/png/solid-round/16/brand-facebook.png · https://gentleface.com/png/solid-round/32/brand-facebook.png · https://gentleface.com/png/solid-round/48/brand-facebook.png
- solid-soft: https://gentleface.com/svg/solid-soft/16/brand-facebook.svg · PNG https://gentleface.com/png/solid-soft/16/brand-facebook.png · https://gentleface.com/png/solid-soft/32/brand-facebook.png · https://gentleface.com/png/solid-soft/48/brand-facebook.png
- solid-sharp: https://gentleface.com/svg/solid-sharp/16/brand-facebook.svg · PNG https://gentleface.com/png/solid-sharp/16/brand-facebook.png · https://gentleface.com/png/solid-sharp/32/brand-facebook.png · https://gentleface.com/png/solid-sharp/48/brand-facebook.png

The SVG of every style: https://gentleface.com/icons/brand-facebook.json (`svg`).

## Code (line-round)

The snippets are decorative (aria-hidden). For an icon that carries meaning on its own, such as an icon-only button, label the button, or give the SVG role="img" and an aria-label. For another style, take its SVG from the JSON and swap the path `d`.

### SVG

```svg
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true"><path d="M11.295 9.035L8.971 9.035L8.971 14.937C8.63 14.978 8.283 15 7.93 15C7.215 15 6.52 14.912 5.855 14.747L5.855 9.035L4.084 9.035L4.084 6.41L5.855 6.41L5.855 5.279C5.855 2.355 7.178 1 10.049 1C10.593 1 11.532 1.107 11.916 1.213L11.916 3.593C11.713 3.572 11.361 3.561 10.924 3.561C9.515 3.561 8.971 4.095 8.971 5.482L8.971 6.41L11.777 6.41L11.295 9.035Z"/></svg>
```

### React

```tsx
// Gentleface "brand-facebook" (line-round), MIT. https://gentleface.com/icons/brand-facebook
import type { SVGProps } from 'react';

export function BrandFacebookIcon(props: SVGProps<SVGSVGElement>) {
  return (
    <svg xmlns="http://www.w3.org/2000/svg" width={16} height={16} viewBox="0 0 16 16" fill="currentColor" aria-hidden="true" {...props}>
      <path d="M11.295 9.035L8.971 9.035L8.971 14.937C8.63 14.978 8.283 15 7.93 15C7.215 15 6.52 14.912 5.855 14.747L5.855 9.035L4.084 9.035L4.084 6.41L5.855 6.41L5.855 5.279C5.855 2.355 7.178 1 10.049 1C10.593 1 11.532 1.107 11.916 1.213L11.916 3.593C11.713 3.572 11.361 3.561 10.924 3.561C9.515 3.561 8.971 4.095 8.971 5.482L8.971 6.41L11.777 6.41L11.295 9.035Z" />
    </svg>
  );
}
```

### Vue

```vue
<!-- Gentleface "brand-facebook" (line-round), MIT. https://gentleface.com/icons/brand-facebook -->
<template>
  <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true">
    <path d="M11.295 9.035L8.971 9.035L8.971 14.937C8.63 14.978 8.283 15 7.93 15C7.215 15 6.52 14.912 5.855 14.747L5.855 9.035L4.084 9.035L4.084 6.41L5.855 6.41L5.855 5.279C5.855 2.355 7.178 1 10.049 1C10.593 1 11.532 1.107 11.916 1.213L11.916 3.593C11.713 3.572 11.361 3.561 10.924 3.561C9.515 3.561 8.971 4.095 8.971 5.482L8.971 6.41L11.777 6.41L11.295 9.035Z" />
  </svg>
</template>
```

### Svelte

```svelte
<!-- Gentleface "brand-facebook" (line-round), MIT. https://gentleface.com/icons/brand-facebook -->
<script>
  let props = $props();
</script>

<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true" {...props}>
  <path d="M11.295 9.035L8.971 9.035L8.971 14.937C8.63 14.978 8.283 15 7.93 15C7.215 15 6.52 14.912 5.855 14.747L5.855 9.035L4.084 9.035L4.084 6.41L5.855 6.41L5.855 5.279C5.855 2.355 7.178 1 10.049 1C10.593 1 11.532 1.107 11.916 1.213L11.916 3.593C11.713 3.572 11.361 3.561 10.924 3.561C9.515 3.561 8.971 4.095 8.971 5.482L8.971 6.41L11.777 6.41L11.295 9.035Z" />
</svg>
```

### HTML img

```html
<!-- Gentleface "brand-facebook" (line-round), MIT. https://gentleface.com/icons/brand-facebook. An <img> can't take currentColor: it draws black. Inline the SVG or use the CSS mask to color it. -->
<img src="https://gentleface.com/svg/line-round/16/brand-facebook.svg" width="16" height="16" alt="">
```

### CSS

```css
/* Gentleface "brand-facebook" (line-round), MIT. https://gentleface.com/icons/brand-facebook. Takes the text color. */
.icon-brand-facebook {
  display: inline-block;
  width: 16px;
  height: 16px;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='currentColor'%3E%3Cpath d='M11.295 9.035L8.971 9.035L8.971 14.937C8.63 14.978 8.283 15 7.93 15C7.215 15 6.52 14.912 5.855 14.747L5.855 9.035L4.084 9.035L4.084 6.41L5.855 6.41L5.855 5.279C5.855 2.355 7.178 1 10.049 1C10.593 1 11.532 1.107 11.916 1.213L11.916 3.593C11.713 3.572 11.361 3.561 10.924 3.561C9.515 3.561 8.971 4.095 8.971 5.482L8.971 6.41L11.777 6.41L11.295 9.035Z'/%3E%3C/svg%3E") center / 16px 16px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='currentColor'%3E%3Cpath d='M11.295 9.035L8.971 9.035L8.971 14.937C8.63 14.978 8.283 15 7.93 15C7.215 15 6.52 14.912 5.855 14.747L5.855 9.035L4.084 9.035L4.084 6.41L5.855 6.41L5.855 5.279C5.855 2.355 7.178 1 10.049 1C10.593 1 11.532 1.107 11.916 1.213L11.916 3.593C11.713 3.572 11.361 3.561 10.924 3.561C9.515 3.561 8.971 4.095 8.971 5.482L8.971 6.41L11.777 6.41L11.295 9.035Z'/%3E%3C/svg%3E") center / 16px 16px no-repeat;
}
```

### Data URL

```text
data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='currentColor'%3E%3Cpath d='M11.295 9.035L8.971 9.035L8.971 14.937C8.63 14.978 8.283 15 7.93 15C7.215 15 6.52 14.912 5.855 14.747L5.855 9.035L4.084 9.035L4.084 6.41L5.855 6.41L5.855 5.279C5.855 2.355 7.178 1 10.049 1C10.593 1 11.532 1.107 11.916 1.213L11.916 3.593C11.713 3.572 11.361 3.561 10.924 3.561C9.515 3.561 8.971 4.095 8.971 5.482L8.971 6.41L11.777 6.41L11.295 9.035Z'/%3E%3C/svg%3E
```

### Sprite

```html
<!-- Gentleface "brand-facebook" (line-round), MIT. https://gentleface.com/icons/brand-facebook
     Every icon of this style in one file: https://gentleface.com/sprite/line-round.svg
     Serve it from your own origin: <use> does not load from another origin. -->
<svg width="16" height="16" aria-hidden="true"><use href="/sprite/line-round.svg#brand-facebook"/></svg>
```

### SwiftUI

```swift
// Gentleface "brand-facebook" (line-round), MIT. https://gentleface.com/icons/brand-facebook
import SwiftUI

struct BrandFacebookIcon: Shape {
    func path(in rect: CGRect) -> Path {
        var p = Path()
        p.move(to: CGPoint(x: 11.295, y: 9.035))
        p.addLine(to: CGPoint(x: 8.971, y: 9.035))
        p.addLine(to: CGPoint(x: 8.971, y: 14.937))
        p.addCurve(to: CGPoint(x: 7.93, y: 15), control1: CGPoint(x: 8.63, y: 14.978), control2: CGPoint(x: 8.283, y: 15))
        p.addCurve(to: CGPoint(x: 5.855, y: 14.747), control1: CGPoint(x: 7.215, y: 15), control2: CGPoint(x: 6.52, y: 14.912))
        p.addLine(to: CGPoint(x: 5.855, y: 9.035))
        p.addLine(to: CGPoint(x: 4.084, y: 9.035))
        p.addLine(to: CGPoint(x: 4.084, y: 6.41))
        p.addLine(to: CGPoint(x: 5.855, y: 6.41))
        p.addLine(to: CGPoint(x: 5.855, y: 5.279))
        p.addCurve(to: CGPoint(x: 10.049, y: 1), control1: CGPoint(x: 5.855, y: 2.355), control2: CGPoint(x: 7.178, y: 1))
        p.addCurve(to: CGPoint(x: 11.916, y: 1.213), control1: CGPoint(x: 10.593, y: 1), control2: CGPoint(x: 11.532, y: 1.107))
        p.addLine(to: CGPoint(x: 11.916, y: 3.593))
        p.addCurve(to: CGPoint(x: 10.924, y: 3.561), control1: CGPoint(x: 11.713, y: 3.572), control2: CGPoint(x: 11.361, y: 3.561))
        p.addCurve(to: CGPoint(x: 8.971, y: 5.482), control1: CGPoint(x: 9.515, y: 3.561), control2: CGPoint(x: 8.971, y: 4.095))
        p.addLine(to: CGPoint(x: 8.971, y: 6.41))
        p.addLine(to: CGPoint(x: 11.777, y: 6.41))
        p.addLine(to: CGPoint(x: 11.295, y: 9.035))
        p.closeSubpath()
        return p.applying(CGAffineTransform(scaleX: rect.width / 16, y: rect.height / 16))
    }
}

// BrandFacebookIcon().frame(width: 16, height: 16) fills with the foreground style. Keep it on whole points to stay crisp.
```

### Compose

```kotlin
// Gentleface "brand-facebook" (line-round), MIT. https://gentleface.com/icons/brand-facebook
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.vector.ImageVector
import androidx.compose.ui.graphics.vector.addPathNodes
import androidx.compose.ui.unit.dp

val BrandFacebookIcon: ImageVector by lazy {
    ImageVector.Builder(
        name = "brand-facebook", defaultWidth = 16.dp, defaultHeight = 16.dp,
        viewportWidth = 16f, viewportHeight = 16f,
    ).addPath(
        pathData = addPathNodes("M11.295 9.035L8.971 9.035L8.971 14.937C8.63 14.978 8.283 15 7.93 15C7.215 15 6.52 14.912 5.855 14.747L5.855 9.035L4.084 9.035L4.084 6.41L5.855 6.41L5.855 5.279C5.855 2.355 7.178 1 10.049 1C10.593 1 11.532 1.107 11.916 1.213L11.916 3.593C11.713 3.572 11.361 3.561 10.924 3.561C9.515 3.561 8.971 4.095 8.971 5.482L8.971 6.41L11.777 6.41L11.295 9.035Z"),
        fill = SolidColor(Color.Black),
    ).build()
}

// Icon(BrandFacebookIcon, contentDescription = null) tints it with LocalContentColor.
```

### Android XML

```xml
<!-- res/drawable/ic_brand_facebook.xml · Gentleface "brand-facebook" (line-round), MIT. https://gentleface.com/icons/brand-facebook -->
<vector xmlns:android="http://schemas.android.com/apk/res/android"
    android:width="16dp"
    android:height="16dp"
    android:viewportWidth="16"
    android:viewportHeight="16"
    android:tint="?attr/colorControlNormal">
  <path
      android:fillColor="@android:color/white"
      android:pathData="M11.295 9.035L8.971 9.035L8.971 14.937C8.63 14.978 8.283 15 7.93 15C7.215 15 6.52 14.912 5.855 14.747L5.855 9.035L4.084 9.035L4.084 6.41L5.855 6.41L5.855 5.279C5.855 2.355 7.178 1 10.049 1C10.593 1 11.532 1.107 11.916 1.213L11.916 3.593C11.713 3.572 11.361 3.561 10.924 3.561C9.515 3.561 8.971 4.095 8.971 5.482L8.971 6.41L11.777 6.41L11.295 9.035Z"/>
</vector>
```

### Flutter

```dart
// Gentleface "brand-facebook" (line-round), MIT. https://gentleface.com/icons/brand-facebook
import 'package:flutter/widgets.dart';

class BrandFacebookIcon extends StatelessWidget {
  const BrandFacebookIcon({super.key, this.size = 16, this.color});
  final double size;
  final Color? color;

  @override
  Widget build(BuildContext context) => CustomPaint(
        size: Size.square(size),
        painter: _BrandFacebookIconPainter(color ?? IconTheme.of(context).color ?? const Color(0xFF000000)),
      );
}

class _BrandFacebookIconPainter extends CustomPainter {
  _BrandFacebookIconPainter(this.color);
  final Color color;

  @override
  void paint(Canvas canvas, Size size) {
    canvas.scale(size.width / 16, size.height / 16);
    final p = Path()
      ..moveTo(11.295, 9.035)
      ..lineTo(8.971, 9.035)
      ..lineTo(8.971, 14.937)
      ..cubicTo(8.63, 14.978, 8.283, 15, 7.93, 15)
      ..cubicTo(7.215, 15, 6.52, 14.912, 5.855, 14.747)
      ..lineTo(5.855, 9.035)
      ..lineTo(4.084, 9.035)
      ..lineTo(4.084, 6.41)
      ..lineTo(5.855, 6.41)
      ..lineTo(5.855, 5.279)
      ..cubicTo(5.855, 2.355, 7.178, 1, 10.049, 1)
      ..cubicTo(10.593, 1, 11.532, 1.107, 11.916, 1.213)
      ..lineTo(11.916, 3.593)
      ..cubicTo(11.713, 3.572, 11.361, 3.561, 10.924, 3.561)
      ..cubicTo(9.515, 3.561, 8.971, 4.095, 8.971, 5.482)
      ..lineTo(8.971, 6.41)
      ..lineTo(11.777, 6.41)
      ..lineTo(11.295, 9.035)
      ..close();
    canvas.drawPath(p, Paint()..color = color);
  }

  @override
  bool shouldRepaint(_BrandFacebookIconPainter old) => old.color != color;
}
```
