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

Icône Magnet 48

energy-icons:magnet-48

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

Code SVG

<svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 0 48 48"><path fill="currentColor" d="M17 24V9h-6v15c0 7.148 5.852 13 13 13s13-5.852 13-13V9h-6v15c0 3.852-3.148 7-7 7s-7-3.148-7-7m22 0c0 8.252-6.748 15-15 15S9 32.252 9 24V8a1 1 0 0 1 1-1h8a1 1 0 0 1 1 1v16c0 2.748 2.252 5 5 5s5-2.252 5-5V8a1 1 0 0 1 1-1h8a1 1 0 0 1 1 1z"/><path fill="currentColor" d="M18 13v2h-8v-2zm20 0v2h-8v-2z"/></svg>

Comment utiliser l'icône Magnet 48

React

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

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

Vue

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

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

Svelte

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

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

Tailwind CSS

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

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/energy-icons -->
<div class="i-energy-icons:magnet-48"></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-48"></iconify-icon>

Image HTML

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

Icônes similaires dans Energy Icons

FAQ : Icône Magnet 48

L'icône Magnet 48 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 48 dans React ?

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

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

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

Voir toutes les Energy Icons →