Youtube icon
il:youtube
The Youtube icon (il:youtube) is a free SVG icon from the Icalicons set by Icalia Labs. It is drawn on a 840 × 790 grid. Icalicons 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
- Icalicons
- Author
- Icalia Labs
- License
- MIT
- Size
- 840 × 790
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="840" height="790" viewBox="0 0 840 790"><path fill="currentColor" d="M422 2q101 0 171 4t116 16t71 33t37 57t15 86t2 121l-2 121q-1 50-15 86t-37 56t-71 34t-116 16t-171 4t-171-4t-116-16t-71-34t-37-56t-14-86t-3-121t3-121t14-86t37-57t71-33T251 6t171-4m132 331q12-6 12-14t-12-14l-185-86q-12-6-20-1t-9 20v162q0 14 9 19t20 0z"/></svg>How to use the Youtube icon
React
import { Icon } from "@iconify/react";
<Icon icon="il:youtube" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="il:youtube" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="il:youtube" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[il--youtube]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/il -->
<div class="i-il:youtube"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="il:youtube"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/il/youtube.svg" alt="Youtube icon" width="24" height="24">Youtube icon in other icon sets
Youtube icon FAQ
Is the Youtube icon free for commercial use?
Yes. Icalicons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Youtube icon in React?
Install @iconify/react and render <Icon icon="il: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/il/youtube.svg" alt="Youtube icon">, or paste the SVG code inline to style it with CSS.