John KuehJohn Kueh

magnet icon

Phosphor · magnet · MIT

Download SVG

The Phosphor magnet icon depicts a horseshoe magnet, commonly used to represent concepts related to attraction, pulling, or sticking in user interfaces.

Common uses

  • Attracting or pulling content
  • Saving or pinning items
  • Indicating a strong connection

Use it in React

Install
npm i @phosphor-icons/react
Import & render
import { Magnet } from '@phosphor-icons/react';

<Magnet size={24} />

Styles

Phosphor ships this icon in 6 styles — each its own import:

regular
<Magnet size={24} />
thin
<Magnet size={24} weight="thin" />
light
<Magnet size={24} weight="light" />
bold
<Magnet size={24} weight="bold" />
fill
<Magnet size={24} weight="fill" />
duotone
<Magnet size={24} weight="duotone" />

Details

Library
Phosphor (1,512 icons)
License
MIT
viewBox
0 0 256 256
Category
technology & development
Keywords
magnetismsciencephysicstechnology & developmentobjectsmagnetattractpullpinstick

FAQ

What does the magnet icon represent?
It represents magnetism, attraction, or the act of pulling something towards a central point.
How do I use the magnet icon in React?
You can import and use it in your React application with: import { Magnet } from '@phosphor-icons/react'.
What is the license for the Phosphor magnet icon?
The Phosphor icon library, including the magnet icon, is available under the MIT license.

Related icons

The same idea in other libraries, and near matches in Phosphor.

Looking for something else? Search Phosphor and 4 more libraries by description →

The search behind these pages runs as a Claude Code skill. What skills are and how I ship them →