Codepen icon
devicon:codepen
The Codepen icon (devicon:codepen) is a free SVG icon from the Devicon set by konpa. It is drawn on a 128 × 128 grid. Devicon 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.
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="128" height="128" viewBox="0 0 128 128"><path d="m125.571 39.926l-58.5-39c-1.997-1.23-4.128-1.24-6.142 0l-58.5 39C.929 40.926 0 42.712 0 44.497v39c0 1.786.929 3.572 2.429 4.571l58.5 39.006c1.996 1.229 4.128 1.24 6.142 0l58.5-39.006c1.5-.999 2.429-2.785 2.429-4.57v-39c0-1.786-.929-3.572-2.429-4.572m-56.07-24.144l43.07 28.715l-19.214 12.858L69.5 41.425V15.784zm-11.001 0v25.644L34.642 57.354L15.428 44.498zm-47.5 39l13.786 9.215L11 73.212zm47.5 57.43L15.428 83.497L34.642 70.64L58.5 86.569zM64 76.997l-19.428-13l19.428-13l19.428 13zm5.5 35.215V86.569L93.357 70.64l19.214 12.857l-43.07 28.715zm47.5-39l-13.786-9.215L117 54.783z"/></svg>How to use the Codepen icon
React
import { Icon } from "@iconify/react";
<Icon icon="devicon:codepen" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="devicon:codepen" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="devicon:codepen" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[devicon--codepen]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/devicon -->
<div class="i-devicon:codepen"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="devicon:codepen"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/devicon/codepen.svg" alt="Codepen icon" width="24" height="24">Related icons in Devicon
Codepen icon in other icon sets
Codepen icon FAQ
Is the Codepen icon free for commercial use?
Yes. Devicon 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="devicon: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/devicon/codepen.svg" alt="Codepen icon">, or paste the SVG code inline to style it with CSS.