ICONYZ
English
Code Twotone icon from Ant Design Icons

Code Twotone icon

ant-design:code-twotone

The Code Twotone icon (ant-design:code-twotone) is a free SVG icon from the Ant Design Icons set by HeskeyBaozi. It is drawn on a 1024 × 1024 grid. Ant Design 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
Ant Design Icons
Author
HeskeyBaozi
License
MIT
Size
1024 × 1024
Tags
codetwotone
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="1024" height="1024" viewBox="0 0 1024 1024"><path fill="currentColor" d="M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32m-40 728H184V184h656z"/><path fill="currentColor" fill-opacity=".15" d="M184 840h656V184H184zm339.5-223h185c4.1 0 7.5 3.6 7.5 8v48c0 4.4-3.4 8-7.5 8h-185c-4.1 0-7.5-3.6-7.5-8v-48c0-4.4 3.4-8 7.5-8M308 610.3c0-2.3 1.1-4.6 2.9-6.1L420.7 512l-109.8-92.2a7.63 7.63 0 0 1-2.9-6.1V351c0-6.8 7.9-10.5 13.1-6.1l192 160.9c3.9 3.2 3.9 9.1 0 12.3l-192 161c-5.2 4.4-13.1.7-13.1-6.1z"/><path fill="currentColor" d="m321.1 679.1l192-161c3.9-3.2 3.9-9.1 0-12.3l-192-160.9A7.95 7.95 0 0 0 308 351v62.7c0 2.4 1 4.6 2.9 6.1L420.7 512l-109.8 92.2a8.1 8.1 0 0 0-2.9 6.1V673c0 6.8 7.9 10.5 13.1 6.1M516 673c0 4.4 3.4 8 7.5 8h185c4.1 0 7.5-3.6 7.5-8v-48c0-4.4-3.4-8-7.5-8h-185c-4.1 0-7.5 3.6-7.5 8z"/></svg>

How to use the Code Twotone icon

React

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

<Icon icon="ant-design:code-twotone" width="24" />

Vue

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

<template>
  <Icon icon="ant-design:code-twotone" width="24" />
</template>

Svelte

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

<Icon icon="ant-design:code-twotone" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[ant-design--code-twotone]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/ant-design -->
<div class="i-ant-design:code-twotone"></div>

Web component

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

<iconify-icon icon="ant-design:code-twotone"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/ant-design/code-twotone.svg" alt="Code Twotone icon" width="24" height="24">

Related icons in Ant Design Icons

Code Twotone icon FAQ

Is the Code Twotone icon free for commercial use?

Yes. Ant Design Icons are released under the MIT license, which allows use in personal and commercial projects.

How do I use the Code Twotone icon in React?

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

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

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

Browse all Ant Design Icons →