Magnet icon
pepicons-print:magnet
The Magnet icon (pepicons-print:magnet) is a free SVG icon from the Pepicons Print set by CyCraft. It is drawn on a 20 × 20 grid. Pepicons Print icons are released under the CC BY 4.0 license, which allows use in personal and commercial projects as long as you credit the author. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.
- Icon set
- Pepicons Print
- Author
- CyCraft
- License
- CC-BY-4.0
- Size
- 20 × 20
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><g fill="currentColor" fill-rule="evenodd" clip-rule="evenodd"><path d="M8.132 4.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.717l4.243-4.243a.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 3.89 8.89zm6.269 3.783a1 1 0 0 1-.557-1.3l1.35-3.376l1.559.52l.818-1.706a1 1 0 0 1 1.803.866l-1.581 3.294l-1.442-.48l-.65 1.624a1 1 0 0 1-1.3.557" opacity=".2"/><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>How to use the Magnet icon
React
import { Icon } from "@iconify/react";
<Icon icon="pepicons-print:magnet" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="pepicons-print:magnet" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="pepicons-print:magnet" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[pepicons-print--magnet]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/pepicons-print -->
<div class="i-pepicons-print:magnet"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="pepicons-print:magnet"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/pepicons-print/magnet.svg" alt="Magnet icon" width="24" height="24">Related icons in Pepicons Print
Magnet icon in other icon sets
Magnet icon FAQ
Is the Magnet icon free for commercial use?
Yes. Pepicons Print icons are released under the CC BY 4.0 license, which allows use in personal and commercial projects as long as you credit the author.
How do I use the Magnet icon in React?
Install @iconify/react and render <Icon icon="pepicons-print:magnet" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Magnet icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/pepicons-print/magnet.svg" alt="Magnet icon">, or paste the SVG code inline to style it with CSS.