Magnet Filled icon
tabler:magnet-filled
The Magnet Filled icon (tabler:magnet-filled) is a free SVG icon from the Tabler Icons set by Paweł Kuna. It is drawn on a 24 × 24 grid. Tabler 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
- Tabler Icons
- Author
- Paweł Kuna
- License
- MIT
- Size
- 24 × 24
- Tags
- magnetic field, pole, iron, attract, magnet, design, magnetfilled
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M21 9v4a9 9 0 0 1-18 0V9h7v4a2 2 0 1 0 4 0V9zm-3-7a3 3 0 0 1 3 3v2h-7V5a3 3 0 0 1 3-3zM7 2a3 3 0 0 1 3 3v2H3V5a3 3 0 0 1 3-3z"/></svg>How to use the Magnet Filled icon
React
import { Icon } from "@iconify/react";
<Icon icon="tabler:magnet-filled" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="tabler:magnet-filled" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="tabler:magnet-filled" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[tabler--magnet-filled]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/tabler -->
<div class="i-tabler:magnet-filled"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="tabler:magnet-filled"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/tabler/magnet-filled.svg" alt="Magnet Filled icon" width="24" height="24">Related icons in Tabler Icons
Magnet Filled icon in other icon sets
Magnet Filled icon FAQ
Is the Magnet Filled icon free for commercial use?
Yes. Tabler Icons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Magnet Filled icon in React?
Install @iconify/react and render <Icon icon="tabler:magnet-filled" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Magnet Filled icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/tabler/magnet-filled.svg" alt="Magnet Filled icon">, or paste the SVG code inline to style it with CSS.