ICONYZ
English
Magnet icon from Fontisto

Magnet icon

fontisto:magnet

The Magnet icon (fontisto:magnet) is a free SVG icon from the Fontisto set by Kenan Gündoğan. It is drawn on a 22 × 24 grid. Fontisto icons are released under the MIT 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
Fontisto
Author
Kenan Gündoğan
License
MIT
Size
22 × 24
Category
Interfaces
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="22" height="24" viewBox="0 0 22 24"><path fill="currentColor" d="m14.13 22.716l-.001.047c0 .42.329.763.743.786h.002l5.433.447a.807.807 0 0 0 .886-.694v-.004l.424-4.479l-7.059-.586zM.742 18.813l.425 4.479a.807.807 0 0 0 .89.698h-.004l5.433-.446a.79.79 0 0 0 .745-.787l-.001-.047v.002l-.425-4.479zm-.7-7.385L.48 16.05l7.062-.581l-.437-4.617a4 4 0 0 1-.015-.339a3.98 3.98 0 0 1 4.096-3.844h-.006l.114-.002a3.977 3.977 0 0 1 3.975 3.839v.007q0 .172-.015.34l-.436 4.617l7.062.581l.438-4.622q.041-.46.042-.916C22.358 4.72 17.342 0 11.179 0S0 4.719 0 10.512c0 .304.014.606.042.916"/></svg>

How to use the Magnet icon

React

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

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

Vue

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

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

Svelte

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

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

Tailwind CSS

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

UnoCSS

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

Web component

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

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

HTML image

<img src="https://iconyz.com/api/public/svg/fontisto/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. Fontisto icons are released under the MIT 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="fontisto: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/fontisto/magnet.svg" alt="Magnet icon">, or paste the SVG code inline to style it with CSS.

Browse all Fontisto icons →