ICONYZ
English
Youtube icon from Simple Icons

Youtube icon

simple-icons:youtube

The Youtube icon (simple-icons:youtube) is a free SVG icon from the Simple Icons set by Simple Icons Collaborators. It is drawn on a 24 × 24 grid. Simple Icons are released under the CC0 1.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
Simple Icons
Author
Simple Icons Collaborators
License
CC0-1.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" d="M23.498 6.186a3.02 3.02 0 0 0-2.122-2.136C19.505 3.545 12 3.545 12 3.545s-7.505 0-9.377.505A3.02 3.02 0 0 0 .502 6.186C0 8.07 0 12 0 12s0 3.93.502 5.814a3.02 3.02 0 0 0 2.122 2.136c1.871.505 9.376.505 9.376.505s7.505 0 9.377-.505a3.02 3.02 0 0 0 2.122-2.136C24 15.93 24 12 24 12s0-3.93-.502-5.814M9.545 15.568V8.432L15.818 12z"/></svg>

How to use the Youtube icon

React

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

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

Vue

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

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

Svelte

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

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

Tailwind CSS

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

UnoCSS

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

Web component

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

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

HTML image

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

Related icons in Simple Icons

Youtube icon in other icon sets

Youtube icon FAQ

Is the Youtube icon free for commercial use?

Yes. Simple Icons are released under the CC0 1.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="simple-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/simple-icons/youtube.svg" alt="Youtube icon">, or paste the SVG code inline to style it with CSS.

Browse all Simple Icons →