Code Light icon
ph:code-light
The Code Light icon (ph:code-light) 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, codelight
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="256" height="256" viewBox="0 0 256 256"><path fill="currentColor" d="M67.84 92.61L25.37 128l42.47 35.39a6 6 0 1 1-7.68 9.22l-48-40a6 6 0 0 1 0-9.22l48-40a6 6 0 0 1 7.68 9.22m176 30.78l-48-40a6 6 0 1 0-7.68 9.22L230.63 128l-42.47 35.39a6 6 0 1 0 7.68 9.22l48-40a6 6 0 0 0 0-9.22m-81.79-89a6 6 0 0 0-7.69 3.61l-64 176a6 6 0 0 0 3.64 7.64a6.2 6.2 0 0 0 2 .36a6 6 0 0 0 5.64-3.95l64-176a6 6 0 0 0-3.59-7.69Z"/></svg>How to use the Code Light icon
React
import { Icon } from "@iconify/react";
<Icon icon="ph:code-light" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="ph:code-light" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="ph:code-light" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[ph--code-light]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/ph -->
<div class="i-ph:code-light"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="ph:code-light"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/ph/code-light.svg" alt="Code Light 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-duotone
code-fill
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 Light icon in other icon sets
Code Light icon FAQ
Is the Code Light 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 Light icon in React?
Install @iconify/react and render <Icon icon="ph:code-light" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Code Light icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/ph/code-light.svg" alt="Code Light icon">, or paste the SVG code inline to style it with CSS.