Cube icon
Used in 3D experience scenarios. The Cube icon is part of Microsoft's Fluent UI System Icons, available here in filled and regular (outlined) styles on a 24 px grid. Download it as SVG or PNG, or copy it as code — it's free to use under the MIT License.
Use the Cube icon in React
Install Microsoft's @fluentui/react-icons package, then import the component. Icons inherit the current text color, and you can size them with CSS.
npm install @fluentui/react-icons
import { Cube24Regular, Cube24Filled } from "@fluentui/react-icons";
export function Example() {
return <Cube24Regular aria-label="Cube" />;
}Use it in HTML
Reference the SVG file directly:
<img src="https://fluenticons.co/icons/ic_fluent_cube_24_regular.svg" width="24" height="24" alt="Cube"> Or paste the SVG markup inline. Setting fill="currentColor" makes the icon follow the text color of its parent:
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M6.04873 7.98306C6.19566 7.59578 6.62872 7.40094 7.016 7.54788L12 9.43876L16.9839 7.54788C17.3712 7.40094 17.8043 7.59578 17.9512 7.98306C18.0981 8.37034 17.9033 8.8034 17.516 8.95033L12.75 10.7585V16.2491C12.75 16.6634 12.4142 16.9991 12 16.9991C11.5858 16.9991 11.25 16.6634 11.25 16.2491V10.7586L6.48392 8.95033C6.09664 8.8034 5.9018 8.37034 6.04873 7.98306ZM10.5911 2.51106C11.4947 2.14475 12.5053 2.14475 13.4089 2.51106L20.9075 5.55102C21.5679 5.81876 22 6.4602 22 7.17282V16.8255C22 17.5381 21.5679 18.1796 20.9075 18.4473L13.4089 21.4873C12.5053 21.8536 11.4947 21.8536 10.5911 21.4873L3.09252 18.4473C2.43211 18.1796 2 17.5381 2 16.8255V7.17282C2 6.4602 2.43211 5.81876 3.09252 5.55102L10.5911 2.51106ZM12.8453 3.90116C12.3032 3.68138 11.6968 3.68138 11.1547 3.90116L3.65607 6.94113C3.56173 6.97938 3.5 7.07102 3.5 7.17282V16.8255C3.5 16.9273 3.56173 17.019 3.65607 17.0572L11.1547 20.0972C11.6968 20.317 12.3032 20.317 12.8453 20.0972L20.3439 17.0572C20.4383 17.019 20.5 16.9273 20.5 16.8255V7.17282C20.5 7.07102 20.4383 6.97938 20.3439 6.94113L12.8453 3.90116Z" fill="currentColor"/></svg>Use it from the SVG package
Microsoft's @fluentui/svg-icons package contains the raw SVG files, which works well with bundlers that import SVGs:
npm install @fluentui/svg-icons
import icon from "@fluentui/svg-icons/icons/cube_24_regular.svg";Details
| Name | Cube |
|---|---|
| Styles | Regular (outlined), Filled |
| Size | 24 × 24 px (scalable SVG) |
| Regular (outlined) file | ic_fluent_cube_24_regular.svg |
| Filled file | ic_fluent_cube_24_filled.svg |
| React components | Cube24Regular, Cube24Filled |
| License | MIT (© Microsoft Corporation) |