- Icon Monks
- Objects icons
- Magnet
Magnet icon
The magnet icon is a free objects icon from Icon Monks, drawn as one clean path on a 256-unit grid in six weights. It is free for personal and commercial use under the MIT license.
Open in the icon browserCustomize size and color, then download PNG, WebP or PDF.
About the magnet icon
Use it to stand for magnetic, attract and pull. The regular weight is a single path made of 4 shapes, and the duotone weight adds a 20% tint behind the outline. It comes with 1 variant for states and actions: magnet slash.
Pairs well with the afro pick, ammo and amphora icons. Use the same weight for all of them so they read as one set.
When to use the magnet icon
It belongs to the objects set, made for everyday objects and illustrations. Pair it with the related icons below so a screen stays in one visual style.
Use the magnet icon in your code
React
import { Magnet } from '@icon-monks/react';
<Magnet size={24} />Vue
<script setup>
import { Magnet } from '@icon-monks/vue';
</script>
<Magnet :size="24" />Web component
<icon-monks name="magnet" size="24"></icon-monks>Icon font
<i class="im im-magnet"></i>Flutter
Icon(IconMonks.magnet)SwiftUI
Image(iconMonks: .magnet)Compose
import com.designmonks.icons.IconMonks
import com.designmonks.icons.regular.Magnet
Icon(IconMonks.Regular.Magnet, contentDescription = null)Need setup steps? See the getting started guide or the page for React, Flutter, SwiftUI or Jetpack Compose.
Tags
Related objects icons
afro-pick
ammo
amphora
anvil
apron
armchair
axe
backpack-slash
bag-duffle
balloon
balloon-heart
balloon-slash
barber-chair
barrel
barrel-slash
barricade
baseball-cap
beach-chair
Similar icons in other categories
magnetic-field
gravity
credit-card-back
magnet-slash
git-pull-request
git-pull-request-closed
git-pull-request-draft
hand-swipe-down
atom
inclined-plane
lens-concave
lens-convex
Questions about the magnet icon
Is the magnet icon free for commercial use?
Yes. The magnet icon is released under the MIT license, so you can use it in personal, client and commercial projects without paying or adding credit in your interface.
How do I change the color and size of the magnet icon?
The icon draws in currentColor, so it takes the text color around it. In React, Vue and the web component, set the size and color props; in the icon browser, pick a color and size before you download a PNG, WebP, SVG or PDF.
Are there variants of the magnet icon?
Yes. The magnet icon has 1 variant, including magnet slash. Each one keeps the same base shape and comes in all six weights.
Last updated with version 0.4.3. Release notes