icons/Heroicons/cubeOpen in browser →

cube · Heroicons

Free SVG cube icon from Heroicons. Rendered at 24×24 in the stroke style and licensed under MIT. Copy directly as SVG, React (JSX), or Vue. Download as SVG or PNG. No login, no attribution required for MIT licensed icons.

cube icon — HeroiconsFree cube SVG icon from Heroicons, stroke style, MIT licensed.

Tags

  • cube
  • outline

Code

HTML / SVG
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path stroke-linecap="round" stroke-linejoin="round" d="m21 7.5-9-5.25L3 7.5m18 0-9 5.25m9-5.25v9l-9 5.25M3 7.5l9 5.25M3 7.5v9l9 5.25m0-9v9"/></svg>
React
// Run: npx sant-icons get heroicons-cube --format react
export function HeroiconsCube(props) {
  return (
    <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" {...props}><path stroke-linecap="round" stroke-linejoin="round" d="m21 7.5-9-5.25L3 7.5m18 0-9 5.25m9-5.25v9l-9 5.25M3 7.5l9 5.25M3 7.5v9l9 5.25m0-9v9"/></svg>
  );
}
CLI
npx sant-icons get heroicons-cube

Properties

Name
cube
Library
Heroicons
Style
stroke
License
MIT
Version
2.2.0
Identifier
heroicons-cube

cube in other libraries

Related from Heroicons

The cube icon ships with Heroicons, an open-source icon set licensed under MIT. Search for it as "heroicons cube", "cube svg", or any of its tagged terms (cube, outline). The SVG is normalised to a 24×24 viewBox so you can drop it into any UI framework alongside the other icons here without scaling concerns.

Need this icon in your codebase fast? Install the MCP server for Claude Code (or any MCP-aware AI tool) and ask the model to fetch heroicons-cube directly into your project. No browser context-switch.