ICONYZ
English
Codepen icon from Lineicons

Codepen icon

lineicons:codepen

The Codepen icon (lineicons:codepen) is a free SVG icon from the Lineicons set. It is drawn on a 24 × 24 grid. Lineicons 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
Lineicons
Author
Lineicons
License
MIT
Size
24 × 24
Category
regular
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.66 8.264l-9.18-6.12a.88.88 0 0 0-.966 0l-9.146 6.12c-.225.129-.354.451-.354.676v6.087c0 .258.129.548.354.741l9.147 6.087a.88.88 0 0 0 .966 0l9.146-6.087c.226-.129.355-.45.355-.74V8.94c.032-.257-.097-.547-.323-.676m-8.793-3.8l6.731 4.509l-3.06 1.996l-3.703-2.512c.032 0 .032-3.993.032-3.993m-1.707 0v3.993L7.424 10.97L4.43 8.973zM3.753 10.55L5.878 12l-2.125 1.45zm7.407 8.985l-6.73-4.509l2.994-1.996l3.736 2.512zm.87-5.475L8.97 12l3.06-2.061L15.09 12zm.837 5.475v-3.993l3.736-2.512l2.995 1.996zm7.407-6.087L18.15 12l2.125-1.45z"/></svg>

How to use the Codepen icon

React

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

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

Vue

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

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

Svelte

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

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

Tailwind CSS

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

UnoCSS

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

Web component

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

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

HTML image

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

Browse all Lineicons →