# brand-youtube icon

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

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

## Alternatives

- `brand-youtube-square`: the mark in its square, as an app icon or in a row of profile links

## Trademark

YouTube logo, a trademark of its owner. Built from Wikimedia Commons File:YouTube_full-color_icon_(2017).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-youtube.svg · PNG https://gentleface.com/png/line-round/16/brand-youtube.png · https://gentleface.com/png/line-round/32/brand-youtube.png · https://gentleface.com/png/line-round/48/brand-youtube.png
- line-soft: https://gentleface.com/svg/line-soft/16/brand-youtube.svg · PNG https://gentleface.com/png/line-soft/16/brand-youtube.png · https://gentleface.com/png/line-soft/32/brand-youtube.png · https://gentleface.com/png/line-soft/48/brand-youtube.png
- line-sharp: https://gentleface.com/svg/line-sharp/16/brand-youtube.svg · PNG https://gentleface.com/png/line-sharp/16/brand-youtube.png · https://gentleface.com/png/line-sharp/32/brand-youtube.png · https://gentleface.com/png/line-sharp/48/brand-youtube.png
- solid-round: https://gentleface.com/svg/solid-round/16/brand-youtube.svg · PNG https://gentleface.com/png/solid-round/16/brand-youtube.png · https://gentleface.com/png/solid-round/32/brand-youtube.png · https://gentleface.com/png/solid-round/48/brand-youtube.png
- solid-soft: https://gentleface.com/svg/solid-soft/16/brand-youtube.svg · PNG https://gentleface.com/png/solid-soft/16/brand-youtube.png · https://gentleface.com/png/solid-soft/32/brand-youtube.png · https://gentleface.com/png/solid-soft/48/brand-youtube.png
- solid-sharp: https://gentleface.com/svg/solid-sharp/16/brand-youtube.svg · PNG https://gentleface.com/png/solid-sharp/16/brand-youtube.png · https://gentleface.com/png/solid-sharp/32/brand-youtube.png · https://gentleface.com/png/solid-sharp/48/brand-youtube.png

The SVG of every style: https://gentleface.com/icons/brand-youtube.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="M15 8C15 8 15 10.278 14.707 11.37C14.546 11.972 14.072 12.446 13.469 12.608C12.378 12.9 8 12.9 8 12.9C8 12.9 3.622 12.9 2.53 12.608C1.928 12.446 1.454 11.972 1.293 11.37C1 10.278 1 8 1 8C1 8 1 5.722 1.293 4.63C1.454 4.028 1.928 3.554 2.53 3.392C3.622 3.1 8 3.1 8 3.1C8 3.1 12.378 3.1 13.469 3.392C14.072 3.554 14.546 4.028 14.707 4.63C14.999 5.722 15 8 15 8ZM6.599 10.1L10.236 8L6.599 5.9L6.599 10.1Z"/></svg>
```

### React

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

export function BrandYoutubeIcon(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="M15 8C15 8 15 10.278 14.707 11.37C14.546 11.972 14.072 12.446 13.469 12.608C12.378 12.9 8 12.9 8 12.9C8 12.9 3.622 12.9 2.53 12.608C1.928 12.446 1.454 11.972 1.293 11.37C1 10.278 1 8 1 8C1 8 1 5.722 1.293 4.63C1.454 4.028 1.928 3.554 2.53 3.392C3.622 3.1 8 3.1 8 3.1C8 3.1 12.378 3.1 13.469 3.392C14.072 3.554 14.546 4.028 14.707 4.63C14.999 5.722 15 8 15 8ZM6.599 10.1L10.236 8L6.599 5.9L6.599 10.1Z" />
    </svg>
  );
}
```

### Vue

```vue
<!-- Gentleface "brand-youtube" (line-round), MIT. https://gentleface.com/icons/brand-youtube -->
<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="M15 8C15 8 15 10.278 14.707 11.37C14.546 11.972 14.072 12.446 13.469 12.608C12.378 12.9 8 12.9 8 12.9C8 12.9 3.622 12.9 2.53 12.608C1.928 12.446 1.454 11.972 1.293 11.37C1 10.278 1 8 1 8C1 8 1 5.722 1.293 4.63C1.454 4.028 1.928 3.554 2.53 3.392C3.622 3.1 8 3.1 8 3.1C8 3.1 12.378 3.1 13.469 3.392C14.072 3.554 14.546 4.028 14.707 4.63C14.999 5.722 15 8 15 8ZM6.599 10.1L10.236 8L6.599 5.9L6.599 10.1Z" />
  </svg>
</template>
```

### Svelte

```svelte
<!-- Gentleface "brand-youtube" (line-round), MIT. https://gentleface.com/icons/brand-youtube -->
<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="M15 8C15 8 15 10.278 14.707 11.37C14.546 11.972 14.072 12.446 13.469 12.608C12.378 12.9 8 12.9 8 12.9C8 12.9 3.622 12.9 2.53 12.608C1.928 12.446 1.454 11.972 1.293 11.37C1 10.278 1 8 1 8C1 8 1 5.722 1.293 4.63C1.454 4.028 1.928 3.554 2.53 3.392C3.622 3.1 8 3.1 8 3.1C8 3.1 12.378 3.1 13.469 3.392C14.072 3.554 14.546 4.028 14.707 4.63C14.999 5.722 15 8 15 8ZM6.599 10.1L10.236 8L6.599 5.9L6.599 10.1Z" />
</svg>
```

### HTML img

```html
<!-- Gentleface "brand-youtube" (line-round), MIT. https://gentleface.com/icons/brand-youtube. 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-youtube.svg" width="16" height="16" alt="">
```

### CSS

```css
/* Gentleface "brand-youtube" (line-round), MIT. https://gentleface.com/icons/brand-youtube. Takes the text color. */
.icon-brand-youtube {
  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='M15 8C15 8 15 10.278 14.707 11.37C14.546 11.972 14.072 12.446 13.469 12.608C12.378 12.9 8 12.9 8 12.9C8 12.9 3.622 12.9 2.53 12.608C1.928 12.446 1.454 11.972 1.293 11.37C1 10.278 1 8 1 8C1 8 1 5.722 1.293 4.63C1.454 4.028 1.928 3.554 2.53 3.392C3.622 3.1 8 3.1 8 3.1C8 3.1 12.378 3.1 13.469 3.392C14.072 3.554 14.546 4.028 14.707 4.63C14.999 5.722 15 8 15 8ZM6.599 10.1L10.236 8L6.599 5.9L6.599 10.1Z'/%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='M15 8C15 8 15 10.278 14.707 11.37C14.546 11.972 14.072 12.446 13.469 12.608C12.378 12.9 8 12.9 8 12.9C8 12.9 3.622 12.9 2.53 12.608C1.928 12.446 1.454 11.972 1.293 11.37C1 10.278 1 8 1 8C1 8 1 5.722 1.293 4.63C1.454 4.028 1.928 3.554 2.53 3.392C3.622 3.1 8 3.1 8 3.1C8 3.1 12.378 3.1 13.469 3.392C14.072 3.554 14.546 4.028 14.707 4.63C14.999 5.722 15 8 15 8ZM6.599 10.1L10.236 8L6.599 5.9L6.599 10.1Z'/%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='M15 8C15 8 15 10.278 14.707 11.37C14.546 11.972 14.072 12.446 13.469 12.608C12.378 12.9 8 12.9 8 12.9C8 12.9 3.622 12.9 2.53 12.608C1.928 12.446 1.454 11.972 1.293 11.37C1 10.278 1 8 1 8C1 8 1 5.722 1.293 4.63C1.454 4.028 1.928 3.554 2.53 3.392C3.622 3.1 8 3.1 8 3.1C8 3.1 12.378 3.1 13.469 3.392C14.072 3.554 14.546 4.028 14.707 4.63C14.999 5.722 15 8 15 8ZM6.599 10.1L10.236 8L6.599 5.9L6.599 10.1Z'/%3E%3C/svg%3E
```

### Sprite

```html
<!-- Gentleface "brand-youtube" (line-round), MIT. https://gentleface.com/icons/brand-youtube
     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-youtube"/></svg>
```

### SwiftUI

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

struct BrandYoutubeIcon: Shape {
    func path(in rect: CGRect) -> Path {
        var p = Path()
        p.move(to: CGPoint(x: 15, y: 8))
        p.addCurve(to: CGPoint(x: 14.707, y: 11.37), control1: CGPoint(x: 15, y: 8), control2: CGPoint(x: 15, y: 10.278))
        p.addCurve(to: CGPoint(x: 13.469, y: 12.608), control1: CGPoint(x: 14.546, y: 11.972), control2: CGPoint(x: 14.072, y: 12.446))
        p.addCurve(to: CGPoint(x: 8, y: 12.9), control1: CGPoint(x: 12.378, y: 12.9), control2: CGPoint(x: 8, y: 12.9))
        p.addCurve(to: CGPoint(x: 2.53, y: 12.608), control1: CGPoint(x: 8, y: 12.9), control2: CGPoint(x: 3.622, y: 12.9))
        p.addCurve(to: CGPoint(x: 1.293, y: 11.37), control1: CGPoint(x: 1.928, y: 12.446), control2: CGPoint(x: 1.454, y: 11.972))
        p.addCurve(to: CGPoint(x: 1, y: 8), control1: CGPoint(x: 1, y: 10.278), control2: CGPoint(x: 1, y: 8))
        p.addCurve(to: CGPoint(x: 1.293, y: 4.63), control1: CGPoint(x: 1, y: 8), control2: CGPoint(x: 1, y: 5.722))
        p.addCurve(to: CGPoint(x: 2.53, y: 3.392), control1: CGPoint(x: 1.454, y: 4.028), control2: CGPoint(x: 1.928, y: 3.554))
        p.addCurve(to: CGPoint(x: 8, y: 3.1), control1: CGPoint(x: 3.622, y: 3.1), control2: CGPoint(x: 8, y: 3.1))
        p.addCurve(to: CGPoint(x: 13.469, y: 3.392), control1: CGPoint(x: 8, y: 3.1), control2: CGPoint(x: 12.378, y: 3.1))
        p.addCurve(to: CGPoint(x: 14.707, y: 4.63), control1: CGPoint(x: 14.072, y: 3.554), control2: CGPoint(x: 14.546, y: 4.028))
        p.addCurve(to: CGPoint(x: 15, y: 8), control1: CGPoint(x: 14.999, y: 5.722), control2: CGPoint(x: 15, y: 8))
        p.closeSubpath()
        p.move(to: CGPoint(x: 6.599, y: 10.1))
        p.addLine(to: CGPoint(x: 10.236, y: 8))
        p.addLine(to: CGPoint(x: 6.599, y: 5.9))
        p.addLine(to: CGPoint(x: 6.599, y: 10.1))
        p.closeSubpath()
        return p.applying(CGAffineTransform(scaleX: rect.width / 16, y: rect.height / 16))
    }
}

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

### Compose

```kotlin
// Gentleface "brand-youtube" (line-round), MIT. https://gentleface.com/icons/brand-youtube
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 BrandYoutubeIcon: ImageVector by lazy {
    ImageVector.Builder(
        name = "brand-youtube", defaultWidth = 16.dp, defaultHeight = 16.dp,
        viewportWidth = 16f, viewportHeight = 16f,
    ).addPath(
        pathData = addPathNodes("M15 8C15 8 15 10.278 14.707 11.37C14.546 11.972 14.072 12.446 13.469 12.608C12.378 12.9 8 12.9 8 12.9C8 12.9 3.622 12.9 2.53 12.608C1.928 12.446 1.454 11.972 1.293 11.37C1 10.278 1 8 1 8C1 8 1 5.722 1.293 4.63C1.454 4.028 1.928 3.554 2.53 3.392C3.622 3.1 8 3.1 8 3.1C8 3.1 12.378 3.1 13.469 3.392C14.072 3.554 14.546 4.028 14.707 4.63C14.999 5.722 15 8 15 8ZM6.599 10.1L10.236 8L6.599 5.9L6.599 10.1Z"),
        fill = SolidColor(Color.Black),
    ).build()
}

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

### Android XML

```xml
<!-- res/drawable/ic_brand_youtube.xml · Gentleface "brand-youtube" (line-round), MIT. https://gentleface.com/icons/brand-youtube -->
<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="M15 8C15 8 15 10.278 14.707 11.37C14.546 11.972 14.072 12.446 13.469 12.608C12.378 12.9 8 12.9 8 12.9C8 12.9 3.622 12.9 2.53 12.608C1.928 12.446 1.454 11.972 1.293 11.37C1 10.278 1 8 1 8C1 8 1 5.722 1.293 4.63C1.454 4.028 1.928 3.554 2.53 3.392C3.622 3.1 8 3.1 8 3.1C8 3.1 12.378 3.1 13.469 3.392C14.072 3.554 14.546 4.028 14.707 4.63C14.999 5.722 15 8 15 8ZM6.599 10.1L10.236 8L6.599 5.9L6.599 10.1Z"/>
</vector>
```

### Flutter

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

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

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

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

  @override
  void paint(Canvas canvas, Size size) {
    canvas.scale(size.width / 16, size.height / 16);
    final p = Path()
      ..moveTo(15, 8)
      ..cubicTo(15, 8, 15, 10.278, 14.707, 11.37)
      ..cubicTo(14.546, 11.972, 14.072, 12.446, 13.469, 12.608)
      ..cubicTo(12.378, 12.9, 8, 12.9, 8, 12.9)
      ..cubicTo(8, 12.9, 3.622, 12.9, 2.53, 12.608)
      ..cubicTo(1.928, 12.446, 1.454, 11.972, 1.293, 11.37)
      ..cubicTo(1, 10.278, 1, 8, 1, 8)
      ..cubicTo(1, 8, 1, 5.722, 1.293, 4.63)
      ..cubicTo(1.454, 4.028, 1.928, 3.554, 2.53, 3.392)
      ..cubicTo(3.622, 3.1, 8, 3.1, 8, 3.1)
      ..cubicTo(8, 3.1, 12.378, 3.1, 13.469, 3.392)
      ..cubicTo(14.072, 3.554, 14.546, 4.028, 14.707, 4.63)
      ..cubicTo(14.999, 5.722, 15, 8, 15, 8)
      ..close()
      ..moveTo(6.599, 10.1)
      ..lineTo(10.236, 8)
      ..lineTo(6.599, 5.9)
      ..lineTo(6.599, 10.1)
      ..close();
    canvas.drawPath(p, Paint()..color = color);
  }

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