cylinder from BoxIcons v2 by Boxicons · Regular · MIT Free for personal and commercial use.

Name
cylinder
Set
BoxIcons v2
Style
Regular
Viewbox
24×24
License
MIT
Aliases
bx-cylinder

The same icon in other sets

Use the cylinder icon

SVG

<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="currentColor" d="M12 22c5.131 0 9-1.935 9-4.5V7h-.053q.051-.245.053-.5C21 3.935 17.131 2 12 2C7.209 2 3.52 3.688 3.053 6H3v11.5c0 2.565 3.869 4.5 9 4.5m0-2c-4.273 0-7-1.48-7-2.5V9.394C6.623 10.387 9.111 11 12 11s5.377-.613 7-1.606V17.5c0 1.02-2.727 2.5-7 2.5m0-16c4.273 0 7 1.48 7 2.5S16.273 9 12 9S5 7.52 5 6.5S7.727 4 12 4"/></svg>

React

import type { SVGProps } from "react";

export function BxCylinder(props: SVGProps<SVGSVGElement>) {
  return (
    <svg {...props} xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="currentColor" d="M12 22c5.131 0 9-1.935 9-4.5V7h-.053q.051-.245.053-.5C21 3.935 17.131 2 12 2C7.209 2 3.52 3.688 3.053 6H3v11.5c0 2.565 3.869 4.5 9 4.5m0-2c-4.273 0-7-1.48-7-2.5V9.394C6.623 10.387 9.111 11 12 11s5.377-.613 7-1.606V17.5c0 1.02-2.727 2.5-7 2.5m0-16c4.273 0 7 1.48 7 2.5S16.273 9 12 9S5 7.52 5 6.5S7.727 4 12 4"/></svg>
  );
}

Vue

<template>
  <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="currentColor" d="M12 22c5.131 0 9-1.935 9-4.5V7h-.053q.051-.245.053-.5C21 3.935 17.131 2 12 2C7.209 2 3.52 3.688 3.053 6H3v11.5c0 2.565 3.869 4.5 9 4.5m0-2c-4.273 0-7-1.48-7-2.5V9.394C6.623 10.387 9.111 11 12 11s5.377-.613 7-1.606V17.5c0 1.02-2.727 2.5-7 2.5m0-16c4.273 0 7 1.48 7 2.5S16.273 9 12 9S5 7.52 5 6.5S7.727 4 12 4"/></svg>
</template>

CSS

.icon-cylinder {
  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%22currentColor%22%20d%3D%22M12%2022c5.131%200%209-1.935%209-4.5V7h-.053q.051-.245.053-.5C21%203.935%2017.131%202%2012%202C7.209%202%203.52%203.688%203.053%206H3v11.5c0%202.565%203.869%204.5%209%204.5m0-2c-4.273%200-7-1.48-7-2.5V9.394C6.623%2010.387%209.111%2011%2012%2011s5.377-.613%207-1.606V17.5c0%201.02-2.727%202.5-7%202.5m0-16c4.273%200%207%201.48%207%202.5S16.273%209%2012%209S5%207.52%205%206.5S7.727%204%2012%204%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%22currentColor%22%20d%3D%22M12%2022c5.131%200%209-1.935%209-4.5V7h-.053q.051-.245.053-.5C21%203.935%2017.131%202%2012%202C7.209%202%203.52%203.688%203.053%206H3v11.5c0%202.565%203.869%204.5%209%204.5m0-2c-4.273%200-7-1.48-7-2.5V9.394C6.623%2010.387%209.111%2011%2012%2011s5.377-.613%207-1.606V17.5c0%201.02-2.727%202.5-7%202.5m0-16c4.273%200%207%201.48%207%202.5S16.273%209%2012%209S5%207.52%205%206.5S7.727%204%2012%204%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
}

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