ICONYZ
English
2k icon from theSVG Color

2k icon

thesvg-color:2k

The 2k icon (thesvg-color:2k) is a free SVG icon from the theSVG Color set by thesvg.org. It is drawn on a 24 × 24 grid. theSVG Color 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
theSVG Color
Author
thesvg.org
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="#dd0700" d="M0 .002v23.997h24V.002zm10.962 5.592c2.36 0 4.443.416 3.799 2.423c-.434 1.365-2.017 1.918-3.114 2.109l-2.757.489c-.655.114-1.039.277-1.3.549h6.012l-.818 2.529l3.446-2.529h3.755l-4.091 2.772l2.07 4.402h-3.766l-1.082-2.754l-1.197.826l-.619 1.928H8.471l1.718-5.374h-6.25C4.874 10.2 6.891 9.36 8.731 8.989l2.264-.457c.387-.07.64-.259.736-.557c.136-.416-.32-.581-.994-.581c-.784 0-1.604.074-1.984 1.005H5.646c1.009-2.474 3.483-2.805 5.316-2.805"/></svg>

How to use the 2k icon

React

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

<Icon icon="thesvg-color:2k" width="24" />

Vue

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

<template>
  <Icon icon="thesvg-color:2k" width="24" />
</template>

Svelte

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

<Icon icon="thesvg-color:2k" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[thesvg-color--2k]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/thesvg-color -->
<div class="i-thesvg-color:2k"></div>

Web component

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

<iconify-icon icon="thesvg-color:2k"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/thesvg-color/2k.svg" alt="2k icon" width="24" height="24">

2k icon in other icon sets

2k icon FAQ

Is the 2k icon free for commercial use?

Yes. theSVG Color icons are released under the MIT license, which allows use in personal and commercial projects.

How do I use the 2k icon in React?

Install @iconify/react and render <Icon icon="thesvg-color:2k" />, or use “Copy code” on this page to get a standalone React component.

How do I add the 2k icon to a web page?

Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/thesvg-color/2k.svg" alt="2k icon">, or paste the SVG code inline to style it with CSS.

Browse all theSVG Color icons →