Skip to content

Magnet

The magnet icon represents attraction or the act of drawing something towards a point, typically depicted as a magnet with lines of force emanating from it.

Add shadcn.io to your AI agent. · Pro It installs Magnet, or any of 294k icons, from a prompt, with Pro.

Set up MCP

Exports at 24 × 24 px

Magnet icon from Codicons
Get Pro

538 in CodiconsCC BY 4.0 license (opens in a new tab)Free to copy and download

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 16 16" {...props}>
    <path fill="currentColor" d="M8.587 2.028a5.94 5.94 0 0 0-4.623 1.531A6 6 0 0 0 1.999 8v5c0 .551.449 1 1 1h2c.551 0 1-.449 1-1V8a2 2 0 0 1 2.208-1.989c1.005.1 1.792 1.037 1.792 2.132V13c0 .551.449 1 1 1h2c.551 0 1-.449 1-1V8.236c0-3.192-2.376-5.919-5.412-6.208M3 13v-2h2v2zm5.308-7.984a3 3 0 0 0-2.32.759A3 3 0 0 0 5 8v2H3V8c0-1.406.597-2.755 1.638-3.701a4.98 4.98 0 0 1 3.855-1.276C11.02 3.264 13 5.554 13 8.236V10h-2V8.143c0-1.603-1.183-2.976-2.692-3.127M11 13v-2h2v2z"/>
  </svg>
);

Other libraries

Magnet in 8 more libraries

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

  • Magnet icon from Phosphor
  • Magnet icon from Material Design Icons
  • Magnet icon from Tabler Icons
  • Magnet icon from Huge Icons
  • Magnet icon from Game Icons
  • Magnet icon from IconPark Outline
  • Magnet icon from Myna UI Icons
  • Magnet icon from IonIcons

Codicons

Icons that share its tags, then the ones next to it in Codicons, in the same style.

  • Repo Force Push icon from Codicons
  • Git Pull Request icon from Codicons
  • Git Pull Request Closed icon from Codicons
  • Git Pull Request Create icon from Codicons
  • Git Pull Request Done icon from Codicons
  • Git Pull Request Draft icon from Codicons
  • Git Pull Request Go To Changes icon from Codicons
  • Git Pull Request New Changes icon from Codicons
  • Repo Fetch icon from Codicons
  • Repo Pull icon from Codicons
  • Link External icon from Codicons
  • List Filter icon from Codicons
  • List Flat icon from Codicons
  • List Ordered icon from Codicons
  • List Selection icon from Codicons
  • List Tree icon from Codicons
  • List Unordered icon from Codicons
  • Live Share icon from Codicons
  • Loading icon from Codicons
  • Location icon from Codicons
  • Lock icon from Codicons
  • Lock Small icon from Codicons
  • Mail icon from Codicons
  • Mail Read icon from Codicons

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

Get Pro

Tags

Browse by tag

Magnet is tagged physics, attract and force. Related tags follow; each opens its icons from every library.

Pricing

Codicons MCP, with Pro

Ask for Magnet or any of 538 Codicons 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.

Billed once a year in USD. Cancel anytime.

Individual

For personal projects & open source

$32instead of $49/mo

$389 billed yearly

  • How many people can use the license.Seats: 1 seat
  • Client work, SaaS products and anything you charge for.Commercial use: Personal & open source only
  • Production-ready React sections: hero, pricing, features, dashboards and more.Pro blocks: 6,000+ blocks
  • Complete multi-page sites you can ship as they are.Templates: All 14 templates
  • React icons from every major library, installable with one command.React icons: 294k+ icons
  • Presets that restyle every block, in light and dark.Themes: All 59 themes
  • Lets your AI editor search, preview and install blocks for you.MCP server: Basic usage
  • Priority requests are answered first.Support: Standard

Team

Most popular

For freelancers, agencies & startups

$66instead of $99/mo

$789 billed yearly · ≈ $13/dev/mo

Everything in Individual, plus

  • How many people can use the license.Seats: Up to 5 seats
  • Client work, SaaS products and anything you charge for.Commercial use: Included
  • Lets your AI editor search, preview and install blocks for you.MCP server: High usage
  • Priority requests are answered first.Support: Priority

Organization

For companies with larger teams

$132instead of $199/mo

$1,589 billed yearly

Everything in Team, plus

  • How many people can use the license.Seats: Unlimited seats
  • Lets your AI editor search, preview and install blocks for you.MCP server: Unlimited usage
  • 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 and license it.

Install Magnet from a prompt

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

Get Pro