Skip to content
Cuelark UI

Hover the icon or press Play. Suggested motion: write. Pick another to preview it and update the animated code:

Lucide · LuCodepen

Codepen icon

A free codepen icon from Lucide, ready for React. Use it static or animated: both versions are below, copy-paste or one shadcn command away. Sized in em and colored by currentColor.

License
ISC license
Project
lucide.dev
Install with shadcn
npx shadcn@latest add https://ui.cuelark.com/r/icons/lucide/codepen.json
components/icons/lucide-codepen.tsx
import * as React from "react";

/**
 * Codepen from Lucide (https://lucide.dev/), ISC.
 * Via Cuelark UI: ui.cuelark.com/icons/lucide/codepen. Sized in em, colored by currentColor.
 */
export function LuCodepenIcon(props: React.SVGProps<SVGSVGElement>) {
  return (
    <svg
      aria-hidden="true"
      fill="none"
      strokeWidth="2"
      viewBox="0 0 24 24"
      strokeLinecap="round"
      strokeLinejoin="round"
      stroke="currentColor"
      fill="currentColor"
      width="1em"
      height="1em"
      xmlns="http://www.w3.org/2000/svg"
      {...props}
    >
      <polygon points="12 2 22 8.5 22 15.5 12 22 2 15.5 2 8.5 12 2" />
      <line x1="12" x2="12" y1="22" y2="15.5" />
      <polyline points="22 8.5 12 15.5 2 8.5" />
      <polyline points="2 15.5 12 8.5 22 15.5" />
      <line x1="12" x2="12" y1="2" y2="8.5" />
    </svg>
  );
}
With react-icons
import { LuCodepen } from "react-icons/lu";

export function Example() {
  return <LuCodepen className="size-5" />;
}
codepen.svg
<svg
  fill="none"
  stroke-width="2"
  viewBox="0 0 24 24"
  stroke-linecap="round"
  stroke-linejoin="round"
  stroke="currentColor"
  fill="currentColor"
  width="1em"
  height="1em"
  xmlns="http://www.w3.org/2000/svg"
>
  <polygon points="12 2 22 8.5 22 15.5 12 22 2 15.5 2 8.5 12 2" />
  <line x1="12" x2="12" y1="22" y2="15.5" />
  <polyline points="22 8.5 12 15.5 2 8.5" />
  <polyline points="2 15.5 12 8.5 22 15.5" />
  <line x1="12" x2="12" y1="2" y2="8.5" />
</svg>
Attribution
"Codepen" icon from Lucide (https://lucide.dev/), licensed under ISC license.

Codepen icon in other sets