Code Duotone icon
ph:code-duotone
The Code Duotone icon (ph:code-duotone) is a free SVG icon from the Phosphor set by Phosphor Icons. It is drawn on a 256 × 256 grid. Phosphor 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
- Phosphor
- Author
- Phosphor Icons
- License
- MIT
- Size
- 256 × 256
- Tags
- angle brackets, angle braces, snippets, codeduotone
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="256" height="256" viewBox="0 0 256 256"><g fill="currentColor"><path d="m240 128l-48 40H64l-48-40l48-40h128Z" opacity=".2"/><path d="M69.12 94.15L28.5 128l40.62 33.85a8 8 0 1 1-10.24 12.29l-48-40a8 8 0 0 1 0-12.29l48-40a8 8 0 0 1 10.24 12.3m176 27.7l-48-40a8 8 0 1 0-10.24 12.3L227.5 128l-40.62 33.85a8 8 0 1 0 10.24 12.29l48-40a8 8 0 0 0 0-12.29m-82.39-89.37a8 8 0 0 0-10.25 4.79l-64 176a8 8 0 0 0 4.79 10.26A8.1 8.1 0 0 0 96 224a8 8 0 0 0 7.52-5.27l64-176a8 8 0 0 0-4.79-10.25"/></g></svg>How to use the Code Duotone icon
React
import { Icon } from "@iconify/react";
<Icon icon="ph:code-duotone" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="ph:code-duotone" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="ph:code-duotone" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[ph--code-duotone]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/ph -->
<div class="i-ph:code-duotone"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="ph:code-duotone"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/ph/code-duotone.svg" alt="Code Duotone icon" width="24" height="24">Related icons in Phosphor
code
code-block
code-block-bold
code-block-duotone
code-block-fill
code-block-light
code-block-thin
code-bold
code-fill
code-light
code-simple
code-simple-bold
code-simple-duotone
code-simple-fill
code-simple-light
code-simple-thin
code-thin
codepen-logo
codepen-logo-bold
codepen-logo-duotone
codepen-logo-fill
codepen-logo-light
codepen-logo-thin
codesandbox-logo
Code Duotone icon in other icon sets
Code Duotone icon FAQ
Is the Code Duotone icon free for commercial use?
Yes. Phosphor icons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Code Duotone icon in React?
Install @iconify/react and render <Icon icon="ph:code-duotone" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Code Duotone icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/ph/code-duotone.svg" alt="Code Duotone icon">, or paste the SVG code inline to style it with CSS.