Skip to content

Magnet

The magnet icon represents a magnetic attraction or pull, often used to symbolize data or files being drawn to a particular location.

Exports at 24 × 24 px

Magnet icon from IconPark
Get Pro

Code

Magnet in your framework

In any framework. Customize it above, and the code follows.

export const MagnetIcon = (props: React.SVGProps<SVGSVGElement>) => (
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 48 48" fill="none" stroke="currentColor" {...props}>
    <g fill="none" stroke="#000" strokeLinecap="round" strokeLinejoin="round" strokeWidth="4"><path d="M6 10V26C6 35.9411 14.0589 44 24 44C33.9411 44 42 35.9411 42 26V10M14 10V26C14 31.5228 18.4772 36 24 36C29.5228 36 34 31.5228 34 26V10"/><path fill="#2F88FF" d="M14 4H6V10H14V4Z"/><path fill="#2F88FF" d="M34 4H42V10H34V4Z"/></g>
  </svg>
);

Other libraries

Magnet in 8 more libraries

Each library draws it its own way. Open one to compare.

IconPark

Icons that share its tags, in the same style.

  • Three Slashes icon from IconPark
  • Three Three icon from IconPark
  • Three Triangles icon from IconPark
  • Good Two icon from IconPark
  • Mountain icon from IconPark
  • Mounted icon from IconPark
  • Mouse icon from IconPark
  • Mouse One icon from IconPark
  • Rectangle Tear icon from IconPark
  • Rectangle X icon from IconPark
  • Bottle One icon from IconPark
  • Bottle Three icon from IconPark
  • Bottle Two icon from IconPark
  • Bottom Bar icon from IconPark
  • Bottom Bar One icon from IconPark
  • Bow icon from IconPark
  • Bowl icon from IconPark
  • Bowling icon from IconPark
  • Bowl One icon from IconPark
  • Box icon from IconPark
  • Handle A icon from IconPark
  • Handle B icon from IconPark
  • Handle C icon from IconPark
  • Handle Down icon from IconPark

Skip the copy and paste. With Pro, your AI agent finds and installs any IconPark icon from a prompt.

Get Pro

Pricing

IconPark MCP, with Pro

Ask for Magnet or any of 2,658 IconPark icons and your agent installs it. The MCP comes with every Pro plan, with 6,000+ blocks and 14 premium templates. The icons stay free.

4.9/5 out of 5 · 150+ reviewsfrom 150+ founders and developers.

  • Secure checkout via Stripe
  • Code lives in your repo
  • Keep what you've shipped if you cancel
  • License terms

FAQ

Frequently asked questions

What the Magnet icon means and where it's used, then how to install, style, label and license it.

4.9 out of 5 from 150+ developers

Install Magnet from a prompt

MCP, 6,000+ blocks and 14 premium templates in every Pro plan. The icons stay free.

Get Pro