Youtube icon
cbi:youtube
The Youtube icon (cbi:youtube) is a free SVG icon from the Custom Brand Icons set by Emanuele & rchiileea. It is drawn on a 24 × 24 grid. Custom Brand Icons use the CC BY-NC-SA 4.0 license, which does not allow commercial use without separate permission from the author. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.
- Icon set
- Custom Brand Icons
- Author
- Emanuele & rchiileea
- License
- CC-BY-NC-SA-4.0
- 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="M17.845 4.924H6.155A4.155 4.155 0 0 0 2 9.078v5.845a4.155 4.155 0 0 0 4.155 4.153h11.69A4.155 4.155 0 0 0 22 14.922V9.078a4.155 4.155 0 0 0-4.155-4.153Zm-2.809 7.361l-5.468 2.608a.218.218 0 0 1-.314-.198v-5.38a.22.22 0 0 1 .319-.196l5.469 2.771a.22.22 0 0 1-.005.395Z"/></svg>How to use the Youtube icon
React
import { Icon } from "@iconify/react";
<Icon icon="cbi:youtube" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="cbi:youtube" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="cbi:youtube" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[cbi--youtube]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/cbi -->
<div class="i-cbi:youtube"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="cbi:youtube"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/cbi/youtube.svg" alt="Youtube icon" width="24" height="24">Related icons in Custom Brand Icons
Youtube icon in other icon sets
Youtube icon FAQ
Is the Youtube icon free for commercial use?
No. Custom Brand Icons use the CC BY-NC-SA 4.0 license, which does not allow commercial use without separate permission from the author.
How do I use the Youtube icon in React?
Install @iconify/react and render <Icon icon="cbi:youtube" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Youtube icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/cbi/youtube.svg" alt="Youtube icon">, or paste the SVG code inline to style it with CSS.