cube icon
cube from IonIcons by Ben Sperry · Regular · MIT Free for personal and commercial use.
- Name
- cube
- Set
- IonIcons
- Style
- Regular
- Viewbox
- 512×512
- License
- MIT
2 other variants in IonIcons
The same icon in other sets
cubeBoxIcons v2cubeBoxIcons v2 SolidcubeCarboncube-fillEva IconscubeFramework7 IconscubeFont Awesome 6 Solidcube-12-filledFluent UI System IconscubeHeroIconscubeHuge IconscubeIconoircubeLine AwesomecubeSVG LogoscubeMajesticonscubeMaterial Design Iconscube-fillMingCute IconcubePhosphorcubeRadix IconscubeTabler IconscubeUniconscubeUnicons Monochrome
Use the cube icon
SVG
<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 512 512"><path fill="currentColor" d="M440.9 136.3a4 4 0 0 0 0-6.91L288.16 40.65a64.14 64.14 0 0 0-64.33 0L71.12 129.39a4 4 0 0 0 0 6.91L254 243.88a4 4 0 0 0 4.06 0ZM54 163.51a4 4 0 0 0-6 3.49v173.89a48 48 0 0 0 23.84 41.39L234 479.51a4 4 0 0 0 6-3.46V274.3a4 4 0 0 0-2-3.46ZM272 275v201a4 4 0 0 0 6 3.46l162.15-97.23A48 48 0 0 0 464 340.89V167a4 4 0 0 0-6-3.45l-184 108a4 4 0 0 0-2 3.45"/></svg>
React
import type { SVGProps } from "react";
export function IonCube(props: SVGProps<SVGSVGElement>) {
return (
<svg {...props} xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 512 512"><path fill="currentColor" d="M440.9 136.3a4 4 0 0 0 0-6.91L288.16 40.65a64.14 64.14 0 0 0-64.33 0L71.12 129.39a4 4 0 0 0 0 6.91L254 243.88a4 4 0 0 0 4.06 0ZM54 163.51a4 4 0 0 0-6 3.49v173.89a48 48 0 0 0 23.84 41.39L234 479.51a4 4 0 0 0 6-3.46V274.3a4 4 0 0 0-2-3.46ZM272 275v201a4 4 0 0 0 6 3.46l162.15-97.23A48 48 0 0 0 464 340.89V167a4 4 0 0 0-6-3.45l-184 108a4 4 0 0 0-2 3.45"/></svg>
);
}
Vue
<template> <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 512 512"><path fill="currentColor" d="M440.9 136.3a4 4 0 0 0 0-6.91L288.16 40.65a64.14 64.14 0 0 0-64.33 0L71.12 129.39a4 4 0 0 0 0 6.91L254 243.88a4 4 0 0 0 4.06 0ZM54 163.51a4 4 0 0 0-6 3.49v173.89a48 48 0 0 0 23.84 41.39L234 479.51a4 4 0 0 0 6-3.46V274.3a4 4 0 0 0-2-3.46ZM272 275v201a4 4 0 0 0 6 3.46l162.15-97.23A48 48 0 0 0 464 340.89V167a4 4 0 0 0-6-3.45l-184 108a4 4 0 0 0-2 3.45"/></svg> </template>
CSS
.icon-cube {
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%20512%20512%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M440.9%20136.3a4%204%200%200%200%200-6.91L288.16%2040.65a64.14%2064.14%200%200%200-64.33%200L71.12%20129.39a4%204%200%200%200%200%206.91L254%20243.88a4%204%200%200%200%204.06%200ZM54%20163.51a4%204%200%200%200-6%203.49v173.89a48%2048%200%200%200%2023.84%2041.39L234%20479.51a4%204%200%200%200%206-3.46V274.3a4%204%200%200%200-2-3.46ZM272%20275v201a4%204%200%200%200%206%203.46l162.15-97.23A48%2048%200%200%200%20464%20340.89V167a4%204%200%200%200-6-3.45l-184%20108a4%204%200%200%200-2%203.45%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%20512%20512%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M440.9%20136.3a4%204%200%200%200%200-6.91L288.16%2040.65a64.14%2064.14%200%200%200-64.33%200L71.12%20129.39a4%204%200%200%200%200%206.91L254%20243.88a4%204%200%200%200%204.06%200ZM54%20163.51a4%204%200%200%200-6%203.49v173.89a48%2048%200%200%200%2023.84%2041.39L234%20479.51a4%204%200%200%200%206-3.46V274.3a4%204%200%200%200-2-3.46ZM272%20275v201a4%204%200%200%200%206%203.46l162.15-97.23A48%2048%200%200%200%20464%20340.89V167a4%204%200%200%200-6-3.45l-184%20108a4%204%200%200%200-2%203.45%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
}Direct links: SVG · download · JSON · https://iconsdb.app/api/v1/icon/ion/cube.svg?color=%231a73e8&size=48