Magnet Straight Thin icon
ph:magnet-straight-thin
The Magnet Straight Thin icon (ph:magnet-straight-thin) is a free SVG icon from the Phosphor set by Phosphor Icons. It is drawn on a 256 × 256 grid. Phosphor 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
- Phosphor
- Author
- Phosphor Icons
- License
- MIT
- Size
- 256 × 256
- Tags
- magnetism, science, physics, magnetstraight, straightthin, magnetstraightthin
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="256" height="256" viewBox="0 0 256 256"><path fill="currentColor" d="M200 44h-40a12 12 0 0 0-12 12v88a20 20 0 0 1-40 0V56a12 12 0 0 0-12-12H56a12 12 0 0 0-12 12v88a84 84 0 0 0 84 84h.64c46-.34 83.36-38.47 83.36-85V56a12 12 0 0 0-12-12m-40 8h40a4 4 0 0 1 4 4v36h-48V56a4 4 0 0 1 4-4M56 52h40a4 4 0 0 1 4 4v36H52V56a4 4 0 0 1 4-4m72.58 168H128a76 76 0 0 1-76-76v-44h48v44a28 28 0 0 0 56 0v-44h48v43c0 42.15-33.83 76.69-75.42 77"/></svg>How to use the Magnet Straight Thin icon
React
import { Icon } from "@iconify/react";
<Icon icon="ph:magnet-straight-thin" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="ph:magnet-straight-thin" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="ph:magnet-straight-thin" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[ph--magnet-straight-thin]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/ph -->
<div class="i-ph:magnet-straight-thin"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="ph:magnet-straight-thin"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/ph/magnet-straight-thin.svg" alt="Magnet Straight Thin icon" width="24" height="24">Related icons in Phosphor
Magnet Straight Thin icon FAQ
Is the Magnet Straight Thin icon free for commercial use?
Yes. Phosphor icons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Magnet Straight Thin icon in React?
Install @iconify/react and render <Icon icon="ph:magnet-straight-thin" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Magnet Straight Thin icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/ph/magnet-straight-thin.svg" alt="Magnet Straight Thin icon">, or paste the SVG code inline to style it with CSS.