Codepen icon
fe:codepen
The Codepen icon (fe:codepen) is a free SVG icon from the Feather Icon set by Megumi Hano. It is drawn on a 24 × 24 grid. Feather Icon 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
- Feather Icon
- Author
- Megumi Hano
- License
- MIT
- Size
- 24 × 24
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" fill-rule="evenodd" d="M22 15.047a1 1 0 0 1-.008.112l-.006.037l-.016.072q-.005.022-.013.042l-.022.063l-.02.042q-.013.03-.028.057l-.025.04a1 1 0 0 1-.108.135l-.035.034l-.049.04l-.038.03l-.015.01l-9.14 6.095a.86.86 0 0 1-.954 0l-9.14-6.094l-.014-.01a1 1 0 0 1-.088-.071q-.018-.016-.034-.034q-.023-.022-.043-.046a1 1 0 0 1-.066-.09a1 1 0 0 1-.054-.096l-.019-.042l-.022-.063q-.008-.02-.013-.042q-.009-.035-.015-.072l-.007-.037A1 1 0 0 1 2 15.047V8.953q0-.057.008-.112l.007-.037q.005-.037.015-.072l.013-.042a.8.8 0 0 1 .131-.254l.03-.037l.043-.046l.034-.034a1 1 0 0 1 .088-.07l.014-.01l9.14-6.095a.86.86 0 0 1 .954 0l9.14 6.094l.015.01l.038.03l.05.041l.034.034a.7.7 0 0 1 .108.136l.025.04l.029.056l.019.042l.022.063q.008.02.013.042q.01.035.016.072l.006.037a1 1 0 0 1 .008.112zM3.719 10.562v2.876L5.869 12zm7.422-2.088V4.465l-6.734 4.49l3.008 2.011zm8.452.48L12.86 4.465v4.009l3.726 2.492zM4.407 15.046l6.734 4.489v-4.009l-3.726-2.492zm8.453.48v4.009l6.733-4.49l-3.007-2.01zM12 9.966L8.96 12L12 14.033L15.04 12zm8.281 3.472v-2.876L18.131 12z"/></svg>How to use the Codepen icon
React
import { Icon } from "@iconify/react";
<Icon icon="fe:codepen" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="fe:codepen" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="fe:codepen" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[fe--codepen]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/fe -->
<div class="i-fe:codepen"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="fe:codepen"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/fe/codepen.svg" alt="Codepen icon" width="24" height="24">Codepen icon in other icon sets
Codepen icon FAQ
Is the Codepen icon free for commercial use?
Yes. Feather Icon icons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Codepen icon in React?
Install @iconify/react and render <Icon icon="fe:codepen" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Codepen icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/fe/codepen.svg" alt="Codepen icon">, or paste the SVG code inline to style it with CSS.