Icône Magnet
raphael:magnet
L'icône Magnet (raphael:magnet) est une icône SVG gratuite de la collection Raphael par Dmitry Baranovskiy. Elle est dessinée sur une grille de 32 × 32. Les Raphael icons sont publiées sous la licence MIT, qui autorise leur utilisation dans des projets personnels et commerciaux. Copiez-la en code SVG, JSX, Vue ou Svelte, ou téléchargez le fichier SVG.
- Collection
- Raphael
- Auteur
- Dmitry Baranovskiy
- Licence
- MIT
- Taille
- 32 × 32
Code SVG
<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32"><path fill="currentColor" d="M20.812 19.5h5.002v-6.867c-.028-1.706-.61-3.807-2.172-5.84c-1.54-2.015-4.315-3.72-7.94-3.688c-3.626-.032-6.402 1.674-7.94 3.687c-1.562 2.034-2.145 4.136-2.174 5.842V19.5h5v-6.866c-.027-.377.303-1.79 1.1-2.748c.818-.98 1.847-1.747 4.013-1.778c2.166.032 3.196.8 4.014 1.778c.798.96 1.126 2.372 1.1 2.748V19.5zm5.002 6.08V20.5h-5.002v5.08h5.004zm-20.226 0h5V20.5h-5z"/></svg>Comment utiliser l'icône Magnet
React
import { Icon } from "@iconify/react";
<Icon icon="raphael:magnet" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="raphael:magnet" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="raphael:magnet" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[raphael--magnet]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/raphael -->
<div class="i-raphael:magnet"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="raphael:magnet"></iconify-icon>Image HTML
<img src="https://iconyz.com/api/public/svg/raphael/magnet.svg" alt="Icône Magnet" width="24" height="24">L'icône Magnet dans d'autres collections
FAQ : Icône Magnet
L'icône Magnet est-elle gratuite pour un usage commercial ?
Oui. Les Raphael icons sont publiées sous la licence MIT, qui autorise leur utilisation dans des projets personnels et commerciaux.
Comment utiliser l'icône Magnet dans React ?
Installez @iconify/react et affichez <Icon icon="raphael:magnet" />, ou utilisez « Copier le code » sur cette page pour obtenir un composant React autonome.
Comment ajouter l'icône Magnet à une page web ?
Liez le fichier SVG dans une balise image : <img src="https://iconyz.com/api/public/svg/raphael/magnet.svg" alt="Icône Magnet">, ou collez le code SVG directement dans la page pour le styliser en CSS.