ICONYZ
English
Codepen icon from Font Awesome 4

Codepen icon

fa:codepen

The Codepen icon (fa:codepen) is a free SVG icon from the Font Awesome 4 set by Dave Gandy. It is drawn on a 1792 × 1792 grid. Font Awesome 4 icons are released under the Open Font 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
Font Awesome 4
Author
Dave Gandy
License
OFL-1.1
Size
1792 × 1792
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="1792" height="1792" viewBox="0 0 1792 1792"><path fill="currentColor" d="m216 1169l603 402v-359L485 989zm-62-144l193-129l-193-129zm819 546l603-402l-269-180l-334 223zm-77-493l272-182l-272-182l-272 182zM485 803l334-223V221L216 623zm960 93l193 129V767zm-138-93l269-180l-603-402v359zm485-180v546q0 41-34 64l-819 546q-21 13-43 13t-43-13L34 1233q-34-23-34-64V623q0-41 34-64L853 13q21-13 43-13t43 13l819 546q34 23 34 64"/></svg>

How to use the Codepen icon

React

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

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

Vue

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

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

Svelte

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

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

Tailwind CSS

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

UnoCSS

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

Web component

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

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

HTML image

<img src="https://iconyz.com/api/public/svg/fa/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. Font Awesome 4 icons are released under the Open Font 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="fa: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/fa/codepen.svg" alt="Codepen icon">, or paste the SVG code inline to style it with CSS.

Browse all Font Awesome 4 icons →