ICONYZ
English
Youtube icon from Grommet Icons

Youtube icon

grommet-icons:youtube

The Youtube icon (grommet-icons:youtube) is a free SVG icon from the Grommet Icons set by Grommet. It is drawn on a 24 × 24 grid. Grommet Icons are released under the Apache 2.0 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
Grommet Icons
Author
Grommet
License
Apache-2.0
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" fill-rule="evenodd" d="M9.522 15.553V8.81l6.484 3.383zM23.76 7.641s-.235-1.654-.954-2.382c-.913-.956-1.936-.96-2.405-1.016C17.043 4 12.005 4 12.005 4h-.01s-5.038 0-8.396.243c-.47.055-1.492.06-2.406 1.016C.474 5.987.24 7.641.24 7.641S0 9.584 0 11.525v1.822c0 1.942.24 3.884.24 3.884s.234 1.653.953 2.382c.914.956 2.113.926 2.647 1.026c1.92.184 8.16.241 8.16.241s5.043-.007 8.401-.25c.47-.056 1.492-.061 2.405-1.017c.72-.729.954-2.382.954-2.382s.24-1.942.24-3.885v-1.82c0-1.942-.24-3.885-.24-3.885"/></svg>

How to use the Youtube icon

React

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

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

Vue

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

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

Svelte

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

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

Tailwind CSS

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

UnoCSS

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

Web component

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

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

HTML image

<img src="https://iconyz.com/api/public/svg/grommet-icons/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. Grommet Icons are released under the Apache 2.0 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="grommet-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/grommet-icons/youtube.svg" alt="Youtube icon">, or paste the SVG code inline to style it with CSS.

Browse all Grommet Icons →