Skip to content
shadcn.io

Magnet

The magnet icon represents a magnet, often used to indicate attraction or drawing of elements towards a specific point.

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 Pepicons Pencil

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 20 20" {...props}>
    <g fill="currentColor" fillRule="evenodd" clipRule="evenodd"><path d="M7.132 3.646a.5.5 0 0 1 .707 0l3.03 3.03a.5.5 0 0 1 0 .708l-4.242 4.243a1.214 1.214 0 1 0 1.717 1.717L12.587 9.1a.5.5 0 0 1 .707 0l3.03 3.03a.5.5 0 0 1 0 .708l-4.243 4.242A6.5 6.5 0 0 1 2.89 7.89zm.353 1.061l-3.889 3.89a5.5 5.5 0 1 0 7.778 7.777l3.89-3.889l-2.324-2.323l-3.889 3.889A2.214 2.214 0 1 1 5.92 10.92l3.889-3.89z"/><path d="m7.485 10.06l-3.03-3.03l.707-.707l3.03 3.03zm5.455 5.456l-3.03-3.03l.707-.708l3.03 3.03zm-.353-8.552a.5.5 0 0 1-.279-.65l1.175-2.937l1.53.51l1.01-2.103a.5.5 0 0 1 .9.432l-1.39 2.898l-1.471-.49l-.825 2.062a.5.5 0 0 1-.65.278"/></g>
  </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

Pepicons Pencil

Icons that share its tags, in the same style.

  • Magnet Circle icon from Pepicons Pencil
  • Magnet Circle Off icon from Pepicons Pencil
  • Magnet Off icon from Pepicons Pencil
  • Angle Right Circle icon from Pepicons Pencil
  • Angle Right Circle Off icon from Pepicons Pencil
  • Angle Right Off icon from Pepicons Pencil
  • Angle Up Circle icon from Pepicons Pencil
  • Angle Up Circle Off icon from Pepicons Pencil
  • Angle Up Off icon from Pepicons Pencil
  • Arrow Down Right Circle icon from Pepicons Pencil
  • Arrow Down Right Circle Off icon from Pepicons Pencil
  • Arrow Down Right Off icon from Pepicons Pencil
  • Arrow Left Circle icon from Pepicons Pencil
  • Arrow Left Circle Off icon from Pepicons Pencil
  • Arrow Left Off icon from Pepicons Pencil
  • Arrow Right Circle icon from Pepicons Pencil
  • Arrow Right Circle Off icon from Pepicons Pencil
  • Arrow Right Off icon from Pepicons Pencil
  • Expand icon from Pepicons Pencil
  • Eye icon from Pepicons Pencil
  • Eye Circle icon from Pepicons Pencil
  • Eye Closed icon from Pepicons Pencil
  • Loop Plus icon from Pepicons Pencil
  • Triangle Down Circle icon from Pepicons Pencil

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

Get Pro

Tags

Browse by tag

Magnet is tagged UI, interface, design and 3 more. Related tags follow; each opens its icons from every library.

Pricing

Pepicons Pencil MCP, with Pro

Ask for Magnet or any of 1,275 Pepicons Pencil 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