ICONYZ
English
Code 2 Linear icon from Solar

Code 2 Linear icon

solar:code-2-linear

The Code 2 Linear icon (solar:code-2-linear) is a free SVG icon from the Solar set by 480 Design. It is drawn on a 24 × 24 grid. Solar icons are released under the CC BY 4.0 license, which allows use in personal and commercial projects as long as you credit the author. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.

Icon set
Solar
Author
480 Design
License
CC-BY-4.0
Size
24 × 24
Category
IT
Tags
codelinear
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-linecap="round" stroke-width="1.5"><path d="M16 11L17.6965 12.5268C19.239 13.9151 20.0103 14.6093 20.0103 15.5C20.0103 16.3907 19.239 17.0849 17.6965 18.4732L16 20"/><path d="M13.9868 5L11.9934 12.5L10 20"/><path d="M8.00005 4.82959L6.30358 6.35641C4.76102 7.74471 3.98975 8.43886 3.98975 9.32959C3.98975 10.2203 4.76102 10.9145 6.30358 12.3028L8.00005 13.8296"/></g></svg>

How to use the Code 2 Linear icon

React

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

<Icon icon="solar:code-2-linear" width="24" />

Vue

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

<template>
  <Icon icon="solar:code-2-linear" width="24" />
</template>

Svelte

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

<Icon icon="solar:code-2-linear" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[solar--code-2-linear]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/solar -->
<div class="i-solar:code-2-linear"></div>

Web component

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

<iconify-icon icon="solar:code-2-linear"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/solar/code-2-linear.svg" alt="Code 2 Linear icon" width="24" height="24">

Related icons in Solar

Code 2 Linear icon FAQ

Is the Code 2 Linear icon free for commercial use?

Yes. Solar icons are released under the CC BY 4.0 license, which allows use in personal and commercial projects as long as you credit the author.

How do I use the Code 2 Linear icon in React?

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

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

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

Browse all Solar icons →