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 · CgPathCrop

Path Crop icon

A free path crop 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/path-crop.json
components/icons/css-gg-path-crop.tsx
import * as React from "react";

/**
 * Path Crop from css.gg (https://github.com/astrit/css.gg), MIT.
 * Via Cuelark UI: ui.cuelark.com/icons/css-gg/path-crop. Sized in em, colored by currentColor.
 */
export function CgPathCropIcon(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}
    >
      <rect
        opacity="0.5"
        x="6"
        y="6"
        width="8"
        height="8"
        stroke="currentColor"
        strokeWidth="2"
      />
      <path
        fillRule="evenodd"
        clipRule="evenodd"
        d="M9 9H19V19H9V9ZM15 11H17V17H11V15H15V11Z"
        fill="currentColor"
      />
    </svg>
  );
}
With react-icons
import { CgPathCrop } from "react-icons/cg";

export function Example() {
  return <CgPathCrop className="size-5" />;
}
path-crop.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"
>
  <rect
    opacity="0.5"
    x="6"
    y="6"
    width="8"
    height="8"
    stroke="currentColor"
    stroke-width="2"
  />
  <path
    fill-rule="evenodd"
    clip-rule="evenodd"
    d="M9 9H19V19H9V9ZM15 11H17V17H11V15H15V11Z"
    fill="currentColor"
  />
</svg>
Attribution
"Path Crop" icon from css.gg (https://github.com/astrit/css.gg), licensed under MIT license.

Related icons: scissors, cut, trim, resize