Skip to content
Cuelark UI

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

css.gg · CgDuplicate

Duplicate icon

A free duplicate icon from css.gg, 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
MIT license
Project
github.com
Install with shadcn
npx shadcn@latest add https://ui.cuelark.com/r/icons/css-gg/duplicate.json
components/icons/css-gg-duplicate.tsx
import * as React from "react";

/**
 * Duplicate from css.gg (https://github.com/astrit/css.gg), MIT.
 * Via Cuelark UI: ui.cuelark.com/icons/css-gg/duplicate. Sized in em, colored by currentColor.
 */
export function CgDuplicateIcon(props: React.SVGProps<SVGSVGElement>) {
  return (
    <svg
      aria-hidden="true"
      fill="none"
      viewBox="0 0 24 24"
      stroke="currentColor"
      fill="currentColor"
      strokeWidth="0"
      width="1em"
      height="1em"
      xmlns="http://www.w3.org/2000/svg"
      {...props}
    >
      <path d="M19 5H7V3H21V17H19V5Z" fill="currentColor" />
      <path d="M9 13V11H11V13H13V15H11V17H9V15H7V13H9Z" fill="currentColor" />
      <path
        fillRule="evenodd"
        clipRule="evenodd"
        d="M3 7H17V21H3V7ZM5 9H15V19H5V9Z"
        fill="currentColor"
      />
    </svg>
  );
}
With react-icons
import { CgDuplicate } from "react-icons/cg";

export function Example() {
  return <CgDuplicate className="size-5" />;
}
duplicate.svg
<svg
  fill="none"
  viewBox="0 0 24 24"
  stroke="currentColor"
  fill="currentColor"
  stroke-width="0"
  width="1em"
  height="1em"
  xmlns="http://www.w3.org/2000/svg"
>
  <path d="M19 5H7V3H21V17H19V5Z" fill="currentColor" />
  <path d="M9 13V11H11V13H13V15H11V17H9V15H7V13H9Z" fill="currentColor" />
  <path
    fill-rule="evenodd"
    clip-rule="evenodd"
    d="M3 7H17V21H3V7ZM5 9H15V19H5V9Z"
    fill="currentColor"
  />
</svg>
Attribution
"Duplicate" icon from css.gg (https://github.com/astrit/css.gg), licensed under MIT license.

Related icons: copy, clipboard, clone, paste

Duplicate icon in other sets