cylinder icon
cylinder from BoxIcons v2 Solid by Boxicons · Solid · MIT Free for personal and commercial use.
- Name
- cylinder
- Set
- BoxIcons v2 Solid
- Style
- Solid
- Viewbox
- 24×24
- License
- MIT
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.5V7c0-.051-.024-.097-.033-.146c.016-.117.033-.234.033-.354C21 3.935 17.131 2 12 2S3 3.935 3 6.5v11c0 2.565 3.869 4.5 9 4.5m0-18c4.273 0 7 1.48 7 2.5a.7.7 0 0 1-.025.158c-.004.01-.012.018-.015.027c-.274.848-2.29 1.98-5.496 2.253l-.05.003Q12.741 8.999 12 9C7.727 9 5 7.52 5 6.5S7.727 4 12 4"/></svg>
React
import type { SVGProps } from "react";
export function BxsCylinder(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.5V7c0-.051-.024-.097-.033-.146c.016-.117.033-.234.033-.354C21 3.935 17.131 2 12 2S3 3.935 3 6.5v11c0 2.565 3.869 4.5 9 4.5m0-18c4.273 0 7 1.48 7 2.5a.7.7 0 0 1-.025.158c-.004.01-.012.018-.015.027c-.274.848-2.29 1.98-5.496 2.253l-.05.003Q12.741 8.999 12 9C7.727 9 5 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.5V7c0-.051-.024-.097-.033-.146c.016-.117.033-.234.033-.354C21 3.935 17.131 2 12 2S3 3.935 3 6.5v11c0 2.565 3.869 4.5 9 4.5m0-18c4.273 0 7 1.48 7 2.5a.7.7 0 0 1-.025.158c-.004.01-.012.018-.015.027c-.274.848-2.29 1.98-5.496 2.253l-.05.003Q12.741 8.999 12 9C7.727 9 5 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.5V7c0-.051-.024-.097-.033-.146c.016-.117.033-.234.033-.354C21%203.935%2017.131%202%2012%202S3%203.935%203%206.5v11c0%202.565%203.869%204.5%209%204.5m0-18c4.273%200%207%201.48%207%202.5a.7.7%200%200%201-.025.158c-.004.01-.012.018-.015.027c-.274.848-2.29%201.98-5.496%202.253l-.05.003Q12.741%208.999%2012%209C7.727%209%205%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.5V7c0-.051-.024-.097-.033-.146c.016-.117.033-.234.033-.354C21%203.935%2017.131%202%2012%202S3%203.935%203%206.5v11c0%202.565%203.869%204.5%209%204.5m0-18c4.273%200%207%201.48%207%202.5a.7.7%200%200%201-.025.158c-.004.01-.012.018-.015.027c-.274.848-2.29%201.98-5.496%202.253l-.05.003Q12.741%208.999%2012%209C7.727%209%205%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/bxs/cylinder.svg?color=%231a73e8&size=48