ICONYZ
Français
Icône Magnet 20 de Energy Icons

Icône Magnet 20

energy-icons:magnet-20

L'icône Magnet 20 (energy-icons:magnet-20) est une icône SVG gratuite de la collection Energy Icons par Sam Passmore. Elle est dessinée sur une grille de 20 × 20. Les Energy 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
Energy Icons
Auteur
Sam Passmore
Licence
MIT
Taille
20 × 20
Télécharger le SVG

Code SVG

<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><path fill="currentColor" d="M7 9.999V3.832H4.667v6.167c0 2.932 2.401 5.333 5.333 5.333s5.333-2.401 5.333-5.333V3.832H13v6.167c0 1.651-1.349 3-3 3s-3-1.349-3-3m9.333 0c0 3.484-2.849 6.333-6.333 6.333s-6.333-2.849-6.333-6.333V3.332a.5.5 0 0 1 .5-.5H7.5a.5.5 0 0 1 .5.5v6.667c0 1.099.901 2 2 2s2-.901 2-2V3.332a.5.5 0 0 1 .5-.5h3.333a.5.5 0 0 1 .5.5z"/><path fill="currentColor" d="M7.5 5.332v1H4.167v-1zm8.333 0v1H12.5v-1z"/></svg>

Comment utiliser l'icône Magnet 20

React

import { Icon } from "@iconify/react";

<Icon icon="energy-icons:magnet-20" width="24" />

Vue

<script setup>
import { Icon } from "@iconify/vue";
</script>

<template>
  <Icon icon="energy-icons:magnet-20" width="24" />
</template>

Svelte

<script>
  import Icon from "@iconify/svelte";
</script>

<Icon icon="energy-icons:magnet-20" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[energy-icons--magnet-20]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/energy-icons -->
<div class="i-energy-icons:magnet-20"></div>

Web component

<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>

<iconify-icon icon="energy-icons:magnet-20"></iconify-icon>

Image HTML

<img src="https://iconyz.com/api/public/svg/energy-icons/magnet-20.svg" alt="Icône Magnet 20" width="24" height="24">

Icônes similaires dans Energy Icons

FAQ : Icône Magnet 20

L'icône Magnet 20 est-elle gratuite pour un usage commercial ?

Oui. Les Energy Icons sont publiées sous la licence MIT, qui autorise leur utilisation dans des projets personnels et commerciaux.

Comment utiliser l'icône Magnet 20 dans React ?

Installez @iconify/react et affichez <Icon icon="energy-icons:magnet-20" />, ou utilisez « Copier le code » sur cette page pour obtenir un composant React autonome.

Comment ajouter l'icône Magnet 20 à une page web ?

Liez le fichier SVG dans une balise image : <img src="https://iconyz.com/api/public/svg/energy-icons/magnet-20.svg" alt="Icône Magnet 20">, ou collez le code SVG directement dans la page pour le styliser en CSS.

Voir toutes les Energy Icons →