Magnet Solid icon
mynaui:magnet-solid
The Magnet Solid icon (mynaui:magnet-solid) is a free SVG icon from the Myna UI Icons set by Praveen Juge. It is drawn on a 24 × 24 grid. Myna UI 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
- Myna UI Icons
- Author
- Praveen Juge
- License
- MIT
- Size
- 24 × 24
- Tags
- magnetsolid
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M2.25 5A2.75 2.75 0 0 1 5 2.25h1.625A2.75 2.75 0 0 1 9.375 5v7a2.625 2.625 0 0 0 5.25 0V5a2.75 2.75 0 0 1 2.75-2.75H19A2.75 2.75 0 0 1 21.75 5v7c0 5.385-4.365 9.75-9.75 9.75S2.25 17.385 2.25 12zM5 3.75c-.69 0-1.25.56-1.25 1.25v1.75h4.125V5c0-.69-.56-1.25-1.25-1.25zm11.125 3h4.125V5c0-.69-.56-1.25-1.25-1.25h-1.625c-.69 0-1.25.56-1.25 1.25z"/></svg>How to use the Magnet Solid icon
React
import { Icon } from "@iconify/react";
<Icon icon="mynaui:magnet-solid" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="mynaui:magnet-solid" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="mynaui:magnet-solid" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[mynaui--magnet-solid]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/mynaui -->
<div class="i-mynaui:magnet-solid"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="mynaui:magnet-solid"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/mynaui/magnet-solid.svg" alt="Magnet Solid icon" width="24" height="24">Related icons in Myna UI Icons
Magnet Solid icon in other icon sets
Magnet Solid icon FAQ
Is the Magnet Solid icon free for commercial use?
Yes. Myna UI Icons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Magnet Solid icon in React?
Install @iconify/react and render <Icon icon="mynaui:magnet-solid" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Magnet Solid icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/mynaui/magnet-solid.svg" alt="Magnet Solid icon">, or paste the SVG code inline to style it with CSS.