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

Minimize icon

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

/**
 * Minimize from css.gg (https://github.com/astrit/css.gg), MIT.
 * Via Cuelark UI: ui.cuelark.com/icons/css-gg/minimize. Sized in em, colored by currentColor.
 */
export function CgMinimizeIcon(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="M9 9H3V7H7V3H9V9Z" fill="currentColor" />
      <path d="M9 15H3V17H7V21H9V15Z" fill="currentColor" />
      <path d="M21 15H15V21H17V17H21V15Z" fill="currentColor" />
      <path d="M15 9.00012H21V7.00012H17V3.00012H15V9.00012Z" fill="currentColor" />
    </svg>
  );
}
With react-icons
import { CgMinimize } from "react-icons/cg";

export function Example() {
  return <CgMinimize className="size-5" />;
}
minimize.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="M9 9H3V7H7V3H9V9Z" fill="currentColor" />
  <path d="M9 15H3V17H7V21H9V15Z" fill="currentColor" />
  <path d="M21 15H15V21H17V17H21V15Z" fill="currentColor" />
  <path d="M15 9.00012H21V7.00012H17V3.00012H15V9.00012Z" fill="currentColor" />
</svg>
Attribution
"Minimize" icon from css.gg (https://github.com/astrit/css.gg), licensed under MIT license.

Related icons:

Minimize icon in other sets