Magnet Outline icon
solar:magnet-outline
The Magnet Outline icon (solar:magnet-outline) is a free SVG icon from the Solar set by 480 Design. It is drawn on a 24 × 24 grid. Solar icons are released under the CC BY 4.0 license, which allows use in personal and commercial projects as long as you credit the author. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.
- Icon set
- Solar
- Author
- 480 Design
- License
- CC-BY-4.0
- Size
- 24 × 24
- Category
- UI
- Tags
- magnetoutline
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" fill-rule="evenodd" d="M13 2.75C7.89137 2.75 3.75 6.89137 3.75 12C3.75 17.1086 7.89137 21.25 13 21.25H16.25V17.75H13C9.82436 17.75 7.25 15.1756 7.25 12C7.25 8.82436 9.82436 6.25 13 6.25H16.25V2.75H13ZM17.75 2.75V6.25H19.5C19.9142 6.25 20.25 5.91421 20.25 5.5V3.5C20.25 3.08579 19.9142 2.75 19.5 2.75H17.75ZM17.75 17.75V21.25H19.5C19.9142 21.25 20.25 20.9142 20.25 20.5V18.5C20.25 18.0858 19.9142 17.75 19.5 17.75H17.75ZM2.25 12C2.25 6.06294 7.06294 1.25 13 1.25H19.5C20.7426 1.25 21.75 2.25736 21.75 3.5V5.5C21.75 6.74264 20.7426 7.75 19.5 7.75H13C10.6528 7.75 8.75 9.65279 8.75 12C8.75 14.3472 10.6528 16.25 13 16.25H19.5C20.7426 16.25 21.75 17.2574 21.75 18.5V20.5C21.75 21.7426 20.7426 22.75 19.5 22.75H13C7.06294 22.75 2.25 17.9371 2.25 12Z" clip-rule="evenodd"/></svg>How to use the Magnet Outline icon
React
import { Icon } from "@iconify/react";
<Icon icon="solar:magnet-outline" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="solar:magnet-outline" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="solar:magnet-outline" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[solar--magnet-outline]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/solar -->
<div class="i-solar:magnet-outline"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="solar:magnet-outline"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/solar/magnet-outline.svg" alt="Magnet Outline icon" width="24" height="24">Related icons in Solar
Magnet Outline icon in other icon sets
Magnet Outline icon FAQ
Is the Magnet Outline icon free for commercial use?
Yes. Solar icons are released under the CC BY 4.0 license, which allows use in personal and commercial projects as long as you credit the author.
How do I use the Magnet Outline icon in React?
Install @iconify/react and render <Icon icon="solar:magnet-outline" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Magnet Outline icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/solar/magnet-outline.svg" alt="Magnet Outline icon">, or paste the SVG code inline to style it with CSS.