ICONYZ
English
Youtube icon from Lineicons

Youtube icon

lineicons:youtube

The Youtube icon (lineicons:youtube) is a free SVG icon from the Lineicons set. It is drawn on a 24 × 24 grid. Lineicons 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
Lineicons
Author
Lineicons
License
MIT
Size
24 × 24
Category
regular
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="M21.58 7.194a2.47 2.47 0 0 0-1.773-1.775C18.258 5 12 5 12 5s-6.258 0-7.806.42a2.47 2.47 0 0 0-1.775 1.774C2 8.774 2 12 2 12s0 3.258.42 4.807c.225.87.903 1.548 1.774 1.774C5.742 19 12 19 12 19s6.258 0 7.807-.42a2.47 2.47 0 0 0 1.774-1.773C22 15.258 22 12 22 12s0-3.226-.42-4.806M10 15V9l5.194 3z"/></svg>

How to use the Youtube icon

React

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

<Icon icon="lineicons:youtube" width="24" />

Vue

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

<template>
  <Icon icon="lineicons:youtube" width="24" />
</template>

Svelte

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

<Icon icon="lineicons:youtube" width="24" />

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="lineicons:youtube"></iconify-icon>

HTML image

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

Related icons in Lineicons

Youtube icon in other icon sets

Youtube icon FAQ

Is the Youtube icon free for commercial use?

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

Browse all Lineicons →