Codepen
The Codepen icon represents CodePen, a popular online code editor and community for front-end developers.
Exports at 129 × 24 px
Code
Codepen in your framework
In any framework. Customize it above, and the code follows.
export const CodepenIcon = (props: React.SVGProps<SVGSVGElement>) => (
<svg xmlns="http://www.w3.org/2000/svg" width="129" height="24" viewBox="0 0 512 95" {...props}>
<path d="M9.17 24.813c12.225-12.31 32.093-12.444 44.485-.303a4.454 4.454 0 1 1-6.234 6.363c-8.895-8.715-23.156-8.618-31.932.217s-8.775 23.097 0 31.932c8.776 8.836 23.037 8.933 31.932.218a4.454 4.454 0 0 1 6.234 6.362C41.263 81.744 21.395 81.61 9.17 69.3s-12.225-32.178 0-44.487M119.963.009l.136-.007h.282l.255.015l.281.033l.12.02l.21.042l.225.059q.328.093.634.233l.22.109l.209.117l.178.113L165.296 29q.385.25.717.585l.115.12l.087.098l.127.153l.185.25l.1.154l.123.208l.098.188l.091.197q.221.505.308 1.035l.006.04q.05.312.054.625v28.75a4.4 4.4 0 0 1-.284 1.552l-.02.047a4 4 0 0 1-.162.368l-.119.222l-.173.28l-.086.123l-.156.203l-.143.167l-.143.152q-.344.35-.75.61l-42.53 28.224c-.432.292-.92.51-1.442.637l-.276.056l-.258.038l-.336.026l-.178.004q-.132 0-.261-.008l-.325-.03l-.2-.032a4.4 4.4 0 0 1-1.267-.43l-.026-.015a4 4 0 0 1-.445-.27L75.162 65.083a4 4 0 0 1-.343-.255l-.184-.16l-.178-.174l-.231-.257l-.13-.164l-.143-.2a5 5 0 0 1-.151-.241l-.133-.245l-.105-.223a4.4 4.4 0 0 1-.37-1.77V32.706c.002-.51.092-1.023.273-1.516l.118-.287l.034-.074l.107-.212l.107-.187l.12-.19l.09-.127l.14-.184l.15-.176l.153-.163l.16-.153q.28-.256.592-.457L117.75.768l.205-.132l.238-.132l.218-.106l.207-.088a4.4 4.4 0 0 1 1-.265zM98.949 52.424L85.666 61.36l30.13 19.994V63.757zm42.602-.001l-16.847 11.334v17.597l30.13-19.995zm-21.3-14.329l-13.32 8.961l13.32 8.96l13.32-8.961zm-38.153 2.993v11.937l8.872-5.969zm76.297.005l-8.864 5.963l8.864 5.964zm-42.599-28.34L85.664 32.75l13.286 8.937l16.846-11.333zm8.908.004v17.598l16.846 11.333l13.286-8.937zm88.498 2.736h-19.365a4.454 4.454 0 0 0-4.454 4.454v54.221a4.454 4.454 0 0 0 4.454 4.454h19.365c17.433 0 31.564-14.132 31.564-31.565c0-17.432-14.131-31.564-31.564-31.564m-14.915 54.221V24.4h14.915c12.513 0 22.657 10.143 22.657 22.656s-10.144 22.657-22.657 22.657zM302.28 15.492a4.454 4.454 0 0 1 .485 8.881l-.485.027h-30.407v18.202h18.788a4.454 4.454 0 0 1 .485 8.882l-.485.026h-18.789l.001 18.203h30.407a4.455 4.455 0 0 1 4.428 3.969l.026.485a4.455 4.455 0 0 1-3.969 4.428l-.485.026h-34.857a4.455 4.455 0 0 1-4.428-3.969l-.026-.485V19.946a4.455 4.455 0 0 1 3.969-4.428l.485-.026zm54.221 0c11.016 0 19.946 8.93 19.946 19.945c0 10.734-8.478 19.487-19.103 19.929l-.843.017h-18.788l.004 18.784a4.455 4.455 0 0 1-3.968 4.428l-.486.026a4.455 4.455 0 0 1-4.427-3.969l-.027-.485V19.946a4.455 4.455 0 0 1 3.97-4.428l.484-.026zm-18.788 30.983h18.788c6.096 0 11.038-4.941 11.038-11.038c0-5.878-4.595-10.683-10.39-11.019l-.648-.018h-18.788zm96.247-30.983a4.454 4.454 0 0 1 .485 8.881l-.485.027h-30.406l-.001 18.202h18.788a4.454 4.454 0 0 1 .486 8.882l-.486.026h-18.788v18.203h30.407a4.455 4.455 0 0 1 4.428 3.969l.026.485a4.455 4.455 0 0 1-3.969 4.428l-.485.026h-34.856a4.455 4.455 0 0 1-4.428-3.969l-.026-.485V19.946a4.455 4.455 0 0 1 3.968-4.428l.486-.026zm26.53 4.454c0-4.073 4.954-5.938 7.655-3.1l.3.348l34.643 44.092l.004-41.34a4.455 4.455 0 0 1 3.969-4.428l.485-.026a4.455 4.455 0 0 1 4.428 3.968l.026.486v54.221c0 4.073-4.954 5.937-7.655 3.1l-.301-.348l-34.65-44.1l.004 41.348a4.455 4.455 0 0 1-3.969 4.428l-.485.026a4.455 4.455 0 0 1-4.428-3.969l-.026-.485z"/>
</svg>
);Other libraries
Codepen in 8 more libraries
Each library draws it its own way. Open one to compare.
SVG Logos
More like it
Icons that share its tags, in the same style.
Search SVG Logos
Skip the copy and paste. With Pro, your AI agent finds and installs any SVG Logos icon from a prompt.
Get ProTags
Browse by tag
Codepen is tagged web development, web design, front-end development and 1 more. Related tags follow; each opens its icons from every library.
Pricing
SVG Logos MCP, with Pro
Ask for Codepen or any of 2,063 SVG Logos icons and your agent installs it. The MCP comes with every Pro plan, with 6,000+ blocks and 14 premium templates. The icons stay free.
4.9/5 out of 5 · 150+ reviewsfrom 150+ founders and developers.
- Secure checkout via Stripe
- Code lives in your repo
- Keep what you've shipped if you cancel
- License terms
FAQ
Frequently asked questions
What the Codepen icon means and where it's used, then how to install, style, label and license it.
The Codepen icon represents CodePen, a popular online code editor and community for front-end developers.
CodePen allows developers to showcase and share their web development projects, making it a widely-used platform in the front-end development community.
In real-world applications, the Codepen icon appears in web development projects, front-end development communities, and coding platforms.
Codepen is one of 2,063 icons in SVG Logos, made by Gil Barbara and released under CC0. It is drawn on a 512 × 95 grid.
Sign in (it's free), then open Get icon, Install with shadcn CLI, and pick your package manager to copy the command. It adds CodepenIcon to components/icons/logos-codepen.tsx: one file, a size prop (24 by default) and every SVG prop, with no icon package.
Copy it as React (from Get icon, or the Code section): a typed CodepenIcon component you paste into your project, with no package to install. Only the icons you import reach your bundle. It works in Next.js and any React app.
Open Get icon, then Copy as code, and pick Vue, Svelte, Angular, Solid or Preact; the Code section shows each one too. Every version is one self-contained component with the SVG inside, and SVG and data URL copies are there for plain HTML and CSS.
With Pro, the shadcn.io MCP server lets Claude Code, Cursor or any MCP client find the Codepen icon, or any of 2,063 SVG Logos icons, and install it from a prompt.
It's multicolor, so it keeps its own colors.
Set width and height on the component, or a class like size-6. It's drawn on a 512 × 95 grid, so it stays sharp at any size. Customize also sets the size it exports at, its padding and rotation.
Yes. It keeps its own colors in light and dark mode, so check it against both backgrounds. The icon is a vector, so it needs no separate dark asset.
Next to a visible label it's decoration: add aria-hidden="true" so screen readers skip it. Standing alone, as in an icon button, give the button a name instead, like aria-label="Codepen", so screen readers say what it does.
Yes. CodepenIcon passes every SVG prop to the svg element, so <CodepenIcon aria-hidden="true" /> works, and so do role="img" with aria-label, or a title child, when it carries meaning on its own.
Yes. Open Get icon, then Download file: SVG for code or design tools like Figma; PNG, WebP or JPEG at 512px; or an ICO favicon with 16, 32 and 48px inside. Each one uses what you set in Customize.
CC0 puts the icons in the public domain: use them anywhere, with no conditions. The full terms are in the license, linked on this page.
No. CC0 gives the icons to the public domain, so no credit and no notice is required. Icons installed with the shadcn CLI still start with a comment naming SVG Logos, Gil Barbara and the license.
Yes. Copying and downloading it is free, and the shadcn CLI install only needs a free account.
8 other libraries draw an icon called Codepen. The Other libraries section on this page shows each one, so you can compare them and open the one that fits your style.
Its tags are web development, web design, front-end development and responsive design. Each tag page lists the icons that carry it from every library, which is the quickest way to find a match for Codepen in another set.
4.9 out of 5 from 150+ developers
Install Codepen from a prompt
MCP, 6,000+ blocks and 14 premium templates in every Pro plan. The icons stay free.
Get Pro