icons/Iconoir/magnetOpen in browser →

magnet · Iconoir

Free SVG magnet icon from Iconoir. 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.

magnet icon — IconoirFree magnet SVG icon from Iconoir, stroke style, MIT licensed.

Tags

  • magnet

Code

HTML / SVG
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"><path d="M4 4v8.296C4 16.551 7.582 20 12 20s8-3.45 8-7.704V4"/><path d="M4 4h5.63v6.818C9.63 12.023 10.69 13 12 13s2.37-.977 2.37-2.182V4H20M9 8H4m16 0h-5"/></g></svg>
React
// Run: npx sant-icons get iconoir-magnet --format react
export function IconoirMagnet(props) {
  return (
    <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" {...props}><g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"><path d="M4 4v8.296C4 16.551 7.582 20 12 20s8-3.45 8-7.704V4"/><path d="M4 4h5.63v6.818C9.63 12.023 10.69 13 12 13s2.37-.977 2.37-2.182V4H20M9 8H4m16 0h-5"/></g></svg>
  );
}
CLI
npx sant-icons get iconoir-magnet

Properties

Name
magnet
Library
Iconoir
Style
stroke
License
MIT
Version
1.2.12
Identifier
iconoir-magnet

magnet in other libraries

Related from Iconoir

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