ICONYZ
English
Magnet icon from Elusive Icons

Magnet icon

el:magnet

The Magnet icon (el:magnet) is a free SVG icon from the Elusive Icons set by Team Redux. It is drawn on a 1200 × 1200 grid. Elusive Icons are released under the Open Font License, which allows use in personal and commercial projects. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.

Icon set
Elusive Icons
Author
Team Redux
License
OFL-1.1
Size
1200 × 1200
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="1200" height="1200" viewBox="0 0 1200 1200"><path fill="currentColor" d="M600 0C293.176 0 43.523 234.737 43.523 523.305c0 15.136.684 30.437 2.042 45.639L56.5 798.955l351.616-28.87l-10.936-229.866c-.474-5.497-.802-11.281-.802-16.914c0-105.6 91.37-191.373 203.621-191.373S803.62 417.773 803.62 523.305c0 5.633-.259 11.351-.802 16.914l-10.863 229.866l351.544 28.87l10.937-230.013a515 515 0 0 0 2.041-45.639C1156.477 234.737 906.824 0 600 0M419.636 905.905L68.312 936.671l22.965 262.017l351.324-30.766zm360.291 1.313l-22.892 262.09L1108.359 1200l22.893-262.017z"/></svg>

How to use the Magnet icon

React

import { Icon } from "@iconify/react";

<Icon icon="el:magnet" width="24" />

Vue

<script setup>
import { Icon } from "@iconify/vue";
</script>

<template>
  <Icon icon="el:magnet" width="24" />
</template>

Svelte

<script>
  import Icon from "@iconify/svelte";
</script>

<Icon icon="el:magnet" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[el--magnet]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/el -->
<div class="i-el:magnet"></div>

Web component

<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>

<iconify-icon icon="el:magnet"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/el/magnet.svg" alt="Magnet icon" width="24" height="24">

Magnet icon in other icon sets

Magnet icon FAQ

Is the Magnet icon free for commercial use?

Yes. Elusive Icons are released under the Open Font License, which allows use in personal and commercial projects.

How do I use the Magnet icon in React?

Install @iconify/react and render <Icon icon="el: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/el/magnet.svg" alt="Magnet icon">, or paste the SVG code inline to style it with CSS.

Browse all Elusive Icons →