calculator icon

calculator from HeroIcons by Refactoring UI Inc · Outline 24x24 · MIT Free for personal and commercial use.

Name
calculator
Set
HeroIcons
Style
Outline 24x24
Viewbox
24×24
License
MIT

3 other variants in HeroIcons

The same icon in other sets

Use the calculator icon

SVG

<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M15.75 15.75V18m-7.5-6.75h.008v.008H8.25zm0 2.25h.008v.008H8.25zm0 2.25h.008v.008H8.25zm0 2.25h.008v.008H8.25zm2.498-6.75h.007v.008h-.007zm0 2.25h.007v.008h-.007zm0 2.25h.007v.008h-.007zm0 2.25h.007v.008h-.007zm2.504-6.75h.008v.008h-.008zm0 2.25h.008v.008h-.008zm0 2.25h.008v.008h-.008zm0 2.25h.008v.008h-.008zm2.498-6.75h.008v.008h-.008zm0 2.25h.008v.008h-.008zM8.25 6h7.5v2.25h-7.5zM12 2.25c-1.892 0-3.758.11-5.593.322C5.307 2.7 4.5 3.65 4.5 4.757V19.5a2.25 2.25 0 0 0 2.25 2.25h10.5a2.25 2.25 0 0 0 2.25-2.25V4.757c0-1.108-.806-2.057-1.907-2.185A49 49 0 0 0 12 2.25"/></svg>

React

import type { SVGProps } from "react";

export function HeroiconsCalculator(props: SVGProps<SVGSVGElement>) {
  return (
    <svg {...props} xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="none" stroke="currentColor" strokeLinecap="round" strokeLinejoin="round" strokeWidth="1.5" d="M15.75 15.75V18m-7.5-6.75h.008v.008H8.25zm0 2.25h.008v.008H8.25zm0 2.25h.008v.008H8.25zm0 2.25h.008v.008H8.25zm2.498-6.75h.007v.008h-.007zm0 2.25h.007v.008h-.007zm0 2.25h.007v.008h-.007zm0 2.25h.007v.008h-.007zm2.504-6.75h.008v.008h-.008zm0 2.25h.008v.008h-.008zm0 2.25h.008v.008h-.008zm0 2.25h.008v.008h-.008zm2.498-6.75h.008v.008h-.008zm0 2.25h.008v.008h-.008zM8.25 6h7.5v2.25h-7.5zM12 2.25c-1.892 0-3.758.11-5.593.322C5.307 2.7 4.5 3.65 4.5 4.757V19.5a2.25 2.25 0 0 0 2.25 2.25h10.5a2.25 2.25 0 0 0 2.25-2.25V4.757c0-1.108-.806-2.057-1.907-2.185A49 49 0 0 0 12 2.25"/></svg>
  );
}

Vue

<template>
  <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M15.75 15.75V18m-7.5-6.75h.008v.008H8.25zm0 2.25h.008v.008H8.25zm0 2.25h.008v.008H8.25zm0 2.25h.008v.008H8.25zm2.498-6.75h.007v.008h-.007zm0 2.25h.007v.008h-.007zm0 2.25h.007v.008h-.007zm0 2.25h.007v.008h-.007zm2.504-6.75h.008v.008h-.008zm0 2.25h.008v.008h-.008zm0 2.25h.008v.008h-.008zm0 2.25h.008v.008h-.008zm2.498-6.75h.008v.008h-.008zm0 2.25h.008v.008h-.008zM8.25 6h7.5v2.25h-7.5zM12 2.25c-1.892 0-3.758.11-5.593.322C5.307 2.7 4.5 3.65 4.5 4.757V19.5a2.25 2.25 0 0 0 2.25 2.25h10.5a2.25 2.25 0 0 0 2.25-2.25V4.757c0-1.108-.806-2.057-1.907-2.185A49 49 0 0 0 12 2.25"/></svg>
</template>

CSS

.icon-calculator {
  width: 24px;
  height: 24px;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221em%22%20height%3D%221em%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20stroke-width%3D%221.5%22%20d%3D%22M15.75%2015.75V18m-7.5-6.75h.008v.008H8.25zm0%202.25h.008v.008H8.25zm0%202.25h.008v.008H8.25zm0%202.25h.008v.008H8.25zm2.498-6.75h.007v.008h-.007zm0%202.25h.007v.008h-.007zm0%202.25h.007v.008h-.007zm0%202.25h.007v.008h-.007zm2.504-6.75h.008v.008h-.008zm0%202.25h.008v.008h-.008zm0%202.25h.008v.008h-.008zm0%202.25h.008v.008h-.008zm2.498-6.75h.008v.008h-.008zm0%202.25h.008v.008h-.008zM8.25%206h7.5v2.25h-7.5zM12%202.25c-1.892%200-3.758.11-5.593.322C5.307%202.7%204.5%203.65%204.5%204.757V19.5a2.25%202.25%200%200%200%202.25%202.25h10.5a2.25%202.25%200%200%200%202.25-2.25V4.757c0-1.108-.806-2.057-1.907-2.185A49%2049%200%200%200%2012%202.25%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221em%22%20height%3D%221em%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20stroke-width%3D%221.5%22%20d%3D%22M15.75%2015.75V18m-7.5-6.75h.008v.008H8.25zm0%202.25h.008v.008H8.25zm0%202.25h.008v.008H8.25zm0%202.25h.008v.008H8.25zm2.498-6.75h.007v.008h-.007zm0%202.25h.007v.008h-.007zm0%202.25h.007v.008h-.007zm0%202.25h.007v.008h-.007zm2.504-6.75h.008v.008h-.008zm0%202.25h.008v.008h-.008zm0%202.25h.008v.008h-.008zm0%202.25h.008v.008h-.008zm2.498-6.75h.008v.008h-.008zm0%202.25h.008v.008h-.008zM8.25%206h7.5v2.25h-7.5zM12%202.25c-1.892%200-3.758.11-5.593.322C5.307%202.7%204.5%203.65%204.5%204.757V19.5a2.25%202.25%200%200%200%202.25%202.25h10.5a2.25%202.25%200%200%200%202.25-2.25V4.757c0-1.108-.806-2.057-1.907-2.185A49%2049%200%200%200%2012%202.25%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
}

Direct links: SVG · download · JSON · https://iconsdb.app/api/v1/icon/heroicons/calculator.svg?color=%231a73e8&size=48