ICONYZ
English
Codepen icon from Griddy Icons

Codepen icon

griddy-icons:codepen

The Codepen icon (griddy-icons:codepen) is a free SVG icon from the Griddy Icons set by Zuzana Benova. It is drawn on a 24 × 24 grid. Griddy 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
Griddy Icons
Author
Zuzana Benova
License
MIT
Size
24 × 24
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="m21.62 8.24l-9.14-6.095a.87.87 0 0 0-.96 0L2.38 8.24a.87.87 0 0 0-.38.715v6.095c0 .28.145.56.38.715l9.14 6.095a.87.87 0 0 0 .96 0l9.14-6.095a.87.87 0 0 0 .38-.715V8.955a.87.87 0 0 0-.38-.715m-8.76-3.775l6.73 4.485l-3 2.01l-3.73-2.49zm-1.72 0V8.47l-3.73 2.49l-3-2.01zM3.72 10.56L5.875 12L3.72 13.44zm7.42 8.975L4.41 15.05l3-2.01l3.73 2.49zm.86-5.5l-3.035-2.03L12 9.975l3.035 2.03zm.86 5.5V15.53l3.73-2.49l3 2.01zm7.42-6.095L18.125 12l2.155-1.44z"/></svg>

How to use the Codepen icon

React

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

<Icon icon="griddy-icons:codepen" width="24" />

Vue

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

<template>
  <Icon icon="griddy-icons:codepen" width="24" />
</template>

Svelte

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

<Icon icon="griddy-icons:codepen" width="24" />

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="griddy-icons:codepen"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/griddy-icons/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. Griddy 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="griddy-icons: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/griddy-icons/codepen.svg" alt="Codepen icon">, or paste the SVG code inline to style it with CSS.

Browse all Griddy Icons →