How to use the YouTube icon
import { YoutubeIcon } from "@/assets/icons/youtubeIcon"
export default function Example() {
return <YoutubeIcon width="32px" height="32px" />
}Brands icon
Copy the YouTube icon as an optimized JSX SVG component for React, Next.js, dashboards, landing pages and Tailwind interfaces.
Copy-ready code
export const YoutubeIcon = ({ width = "40px", height = "40px", color = "red", ...props }) => (
<svg {...props} width={width} height={height} viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg" fill="none">
<path fill={color} d="M14.712 4.633a1.754 1.754 0 00-1.234-1.234C12.382 3.11 8 3.11 8 3.11s-4.382 0-5.478.289c-.6.161-1.072.634-1.234 1.234C1 5.728 1 8 1 8s0 2.283.288 3.367c.162.6.635 1.073 1.234 1.234C3.618 12.89 8 12.89 8 12.89s4.382 0 5.478-.289a1.754 1.754 0 001.234-1.234C15 10.272 15 8 15 8s0-2.272-.288-3.367z" />
<path fill="#fff" d="M6.593 10.11l3.644-2.098-3.644-2.11v4.208z" />
</svg>
);
import { YoutubeIcon } from "@/assets/icons/youtubeIcon"
export default function Example() {
return <YoutubeIcon width="32px" height="32px" />
}Built for the web
This copy-ready component works in React and Next.js projects, and the SVG can be adapted for any interface.
Looking for a similar mark? Browse the related icons below or explore the full brands collection.
Yes. You can copy the JSX component and use it in React and Next.js projects.
Yes. Edit the SVG attributes or pass className, width, height and color props depending on the component.