ICONYZ
English
Codepen icon from Material Design Icons

Codepen icon

mdi:codepen

The Codepen icon (mdi:codepen) is a free SVG icon from the Material Design Icons set by Pictogrammers. It is drawn on a 24 × 24 grid. Material Design Icons are released under the Apache 2.0 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
Material Design Icons
Author
Pictogrammers
License
Apache-2.0
Size
24 × 24
Category
Brand / Logo, Developer / Languages
Tags
brand, logo, developer, languages
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="m8.21 12l-1.33.89v-1.78zm3.26-2.18V7.34l-4.16 2.78l1.85 1.24zm5.23.3l-4.17-2.78v2.48l2.31 1.54zm-9.39 3.76l4.16 2.78v-2.48l-2.31-1.54zm5.22.3v2.48l4.17-2.78l-1.86-1.24zM12 10.74L10.12 12L12 13.26L13.88 12zM22 12c0 5.5-4.5 10-10 10S2 17.5 2 12S6.5 2 12 2s10 4.5 10 10m-3.82-1.88v-.07l-.01-.05l-.01-.05c-.01-.01-.01-.02-.02-.04l-.01-.02l-.02-.04l-.01-.02l-.02-.03l-.02-.03l-.03-.03l-.03-.02V9.7l-.04-.02l-.01-.01l-5.65-3.76a.53.53 0 0 0-.59 0L6.05 9.67v.01L6 9.7v.02l-.03.02l-.03.03l-.01.03l-.03.03l-.01.02l-.02.04l-.01.02l-.02.04V10h-.01l-.01.05v3.9l.01.05h.01v.05c.01.01.01.02.02.04l.01.02l.02.04l.01.02l.02.03l.02.03l.03.03l.03.02v.02l.04.02l.01.01l5.66 3.77c.08.06.19.08.29.08s.21-.03.3-.08l5.65-3.77l.01-.01l.04-.02v-.02l.03-.02l.03-.03l.02-.03l.02-.03l.01-.02l.02-.04l.01-.02l.02-.04V14h.01l.01-.05zm-1.06 2.77v-1.78l-1.33.89z"/></svg>

How to use the Codepen icon

React

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

<Icon icon="mdi:codepen" width="24" />

Vue

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

<template>
  <Icon icon="mdi:codepen" width="24" />
</template>

Svelte

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

<Icon icon="mdi:codepen" width="24" />

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="mdi:codepen"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/mdi/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. Material Design Icons are released under the Apache 2.0 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="mdi: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/mdi/codepen.svg" alt="Codepen icon">, or paste the SVG code inline to style it with CSS.

Browse all Material Design Icons →