ICONYZ
English
Youtube icon from Griddy Icons

Youtube icon

griddy-icons:youtube

The Youtube icon (griddy-icons:youtube) is a free SVG icon from the Griddy Icons set by Zuzana Benova. It is drawn on a 24 × 24 grid. Griddy Icons 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
Griddy Icons
Author
Zuzana Benova
License
MIT
Size
24 × 24
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M12 4.5c2.184 0 3.896.03 5.22.18c1.315.15 2.361.425 3.134 1c.808.6 1.21 1.446 1.416 2.483c.2 1.01.23 2.285.23 3.837s-.03 2.828-.23 3.837c-.205 1.037-.608 1.882-1.416 2.483c-.773.575-1.819.85-3.133 1c-1.325.15-3.037.18-5.221.18s-3.896-.03-5.22-.18c-1.315-.15-2.361-.425-3.134-1c-.808-.6-1.21-1.446-1.417-2.483C2.03 14.827 2 13.552 2 12s.03-2.828.23-3.837c.205-1.037.608-1.882 1.416-2.483c.773-.575 1.819-.85 3.133-1C8.104 4.53 9.816 4.5 12 4.5M12 6c-2.191 0-3.823.032-5.053.17c-1.24.141-1.96.38-2.406.713c-.41.305-.68.757-.84 1.571C3.532 9.296 3.5 10.427 3.5 12s.033 2.704.2 3.546c.162.814.43 1.266.841 1.571c.446.332 1.166.572 2.406.712C8.177 17.97 9.81 18 12 18s3.823-.032 5.053-.17c1.24-.141 1.96-.38 2.406-.713c.41-.305.68-.757.84-1.571c.168-.842.201-1.973.201-3.546s-.033-2.704-.2-3.546c-.162-.814-.43-1.266-.841-1.571c-.446-.332-1.166-.572-2.406-.712C15.823 6.03 14.19 6 12 6m4.762 6L9.25 16.292V7.708zm-6.012 1.707L13.737 12l-2.987-1.708z"/></svg>

How to use the Youtube icon

React

import { Icon } from "@iconify/react";

<Icon icon="griddy-icons:youtube" width="24" />

Vue

<script setup>
import { Icon } from "@iconify/vue";
</script>

<template>
  <Icon icon="griddy-icons:youtube" width="24" />
</template>

Svelte

<script>
  import Icon from "@iconify/svelte";
</script>

<Icon icon="griddy-icons:youtube" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[griddy-icons--youtube]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/griddy-icons -->
<div class="i-griddy-icons:youtube"></div>

Web component

<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>

<iconify-icon icon="griddy-icons:youtube"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/griddy-icons/youtube.svg" alt="Youtube icon" width="24" height="24">

Related icons in Griddy Icons

Youtube icon in other icon sets

Youtube icon FAQ

Is the Youtube icon free for commercial use?

Yes. Griddy Icons 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="griddy-icons: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/griddy-icons/youtube.svg" alt="Youtube icon">, or paste the SVG code inline to style it with CSS.

Browse all Griddy Icons →