ICONYZ
English
Codepen Logo icon from Phosphor

Codepen Logo icon

ph:codepen-logo

The Codepen Logo icon (ph:codepen-logo) 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
ide, logos, codepenlogo
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="256" height="256" viewBox="0 0 256 256"><path fill="currentColor" d="m235.79 89l-104-56a8 8 0 0 0-7.58 0l-104 56A8 8 0 0 0 16 96v64a8 8 0 0 0 4.21 7.05l104 56a8 8 0 0 0 7.58 0l104-56A8 8 0 0 0 240 160V96a8 8 0 0 0-4.21-7M224 146.61L189.45 128L224 109.39Zm-51.43-27.7L136 99.22V53.39L215.13 96Zm-44.57 24L100.3 128l27.7-14.91L155.7 128Zm-8-89.52v45.83l-36.57 19.69L40.87 96Zm-88 56L66.55 128L32 146.61Zm51.43 27.7L120 156.78v45.83L40.87 160ZM136 202.61v-45.83l36.57-19.69L215.13 160Z"/></svg>

How to use the Codepen Logo icon

React

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

<Icon icon="ph:codepen-logo" width="24" />

Vue

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

<template>
  <Icon icon="ph:codepen-logo" width="24" />
</template>

Svelte

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

<Icon icon="ph:codepen-logo" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[ph--codepen-logo]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/ph -->
<div class="i-ph:codepen-logo"></div>

Web component

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

<iconify-icon icon="ph:codepen-logo"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/ph/codepen-logo.svg" alt="Codepen Logo icon" width="24" height="24">

Related icons in Phosphor

Codepen Logo icon in other icon sets

Codepen Logo icon FAQ

Is the Codepen Logo 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 Codepen Logo icon in React?

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

How do I add the Codepen Logo icon to a web page?

Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/ph/codepen-logo.svg" alt="Codepen Logo icon">, or paste the SVG code inline to style it with CSS.

Browse all Phosphor icons →