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

Calculator icon

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

/**
 * Calculator from css.gg (https://github.com/astrit/css.gg), MIT.
 * Via Cuelark UI: ui.cuelark.com/icons/css-gg/calculator. Sized in em, colored by currentColor.
 */
export function CgCalculatorIcon(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="M17 5H7V7H17V5Z" fill="currentColor" />
      <path d="M7 9H9V11H7V9Z" fill="currentColor" />
      <path d="M9 13H7V15H9V13Z" fill="currentColor" />
      <path d="M7 17H9V19H7V17Z" fill="currentColor" />
      <path d="M13 9H11V11H13V9Z" fill="currentColor" />
      <path d="M11 13H13V15H11V13Z" fill="currentColor" />
      <path d="M13 17H11V19H13V17Z" fill="currentColor" />
      <path d="M15 9H17V11H15V9Z" fill="currentColor" />
      <path d="M17 13H15V19H17V13Z" fill="currentColor" />
      <path
        fillRule="evenodd"
        clipRule="evenodd"
        d="M3 3C3 1.89543 3.89543 1 5 1H19C20.1046 1 21 1.89543 21 3V21C21 22.1046 20.1046 23 19 23H5C3.89543 23 3 22.1046 3 21V3ZM5 3H19V21H5V3Z"
        fill="currentColor"
      />
    </svg>
  );
}
With react-icons
import { CgCalculator } from "react-icons/cg";

export function Example() {
  return <CgCalculator className="size-5" />;
}
calculator.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="M17 5H7V7H17V5Z" fill="currentColor" />
  <path d="M7 9H9V11H7V9Z" fill="currentColor" />
  <path d="M9 13H7V15H9V13Z" fill="currentColor" />
  <path d="M7 17H9V19H7V17Z" fill="currentColor" />
  <path d="M13 9H11V11H13V9Z" fill="currentColor" />
  <path d="M11 13H13V15H11V13Z" fill="currentColor" />
  <path d="M13 17H11V19H13V17Z" fill="currentColor" />
  <path d="M15 9H17V11H15V9Z" fill="currentColor" />
  <path d="M17 13H15V19H17V13Z" fill="currentColor" />
  <path
    fill-rule="evenodd"
    clip-rule="evenodd"
    d="M3 3C3 1.89543 3.89543 1 5 1H19C20.1046 1 21 1.89543 21 3V21C21 22.1046 20.1046 23 19 23H5C3.89543 23 3 22.1046 3 21V3ZM5 3H19V21H5V3Z"
    fill="currentColor"
  />
</svg>
Attribution
"Calculator" icon from css.gg (https://github.com/astrit/css.gg), licensed under MIT license.

Calculator icon in other sets