icons/Heroicons/x-markOpen in browser →

x-mark · Heroicons

Free SVG x-mark 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.

x-mark icon — HeroiconsFree x-mark SVG icon from Heroicons, stroke style, MIT licensed.

Tags

  • x
  • mark
  • 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="M6 18 18 6M6 6l12 12"/></svg>
React
// Run: npx sant-icons get heroicons-x-mark --format react
export function HeroiconsXMark(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="M6 18 18 6M6 6l12 12"/></svg>
  );
}
CLI
npx sant-icons get heroicons-x-mark

Properties

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

x-mark in other libraries

Related from Heroicons

The x-mark icon ships with Heroicons, an open-source icon set licensed under MIT. Search for it as "heroicons x-mark", "x-mark svg", or any of its tagged terms (x, mark, 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-x-mark directly into your project. No browser context-switch.