Skip to content

Magnet

The magnet icon features a stylized representation of a magnet, often used to indicate attraction or drawing capabilities.

Exports at 24 × 24 px

Magnet icon from BoxIcons Solid
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 24 24" {...props}>
    <path fill="currentColor" d="M8 3H5a1 1 0 0 0-1 1v3h5V4a1 1 0 0 0-1-1m7 1v3h5V4a1 1 0 0 0-1-1h-3a1 1 0 0 0-1 1m0 10a3 3 0 0 1-6 0V9H4v5a8 8 0 0 0 16 0V9h-5z"/>
  </svg>
);

Other libraries

Magnet in 8 more libraries

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

BoxIcons Solid

Icons that share its tags, in the same style.

  • Flag Checkered icon from BoxIcons Solid
  • Heart icon from BoxIcons Solid
  • Heart Circle icon from BoxIcons Solid
  • Heart Square icon from BoxIcons Solid
  • Magic Wand icon from BoxIcons Solid
  • Left Top Arrow Circle icon from BoxIcons Solid
  • Badge icon from BoxIcons Solid
  • Bookmark Heart icon from BoxIcons Solid
  • Bookmark Minus icon from BoxIcons Solid
  • Bookmark Plus icon from BoxIcons Solid
  • Bookmark Star icon from BoxIcons Solid
  • Carousel icon from BoxIcons Solid
  • Castle icon from BoxIcons Solid
  • Cat icon from BoxIcons Solid
  • Category icon from BoxIcons Solid
  • Dice  2 icon from BoxIcons Solid
  • Droplet icon from BoxIcons Solid
  • Droplet Half icon from BoxIcons Solid
  • Flag Alt icon from BoxIcons Solid
  • Flame icon from BoxIcons Solid
  • Help Circle icon from BoxIcons Solid
  • Hide icon from BoxIcons Solid
  • Hot icon from BoxIcons Solid
  • Hourglass icon from BoxIcons Solid

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

Get Pro

Pricing

BoxIcons Solid MCP, with Pro

Ask for Magnet or any of 665 BoxIcons Solid 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