ICONYZ
Français
Icône Magnet Solid de Myna UI Icons

Icône Magnet Solid

mynaui:magnet-solid

L'icône Magnet Solid (mynaui:magnet-solid) est une icône SVG gratuite de la collection Myna UI Icons par Praveen Juge. Elle est dessinée sur une grille de 24 × 24. Les Myna UI 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
Myna UI Icons
Auteur
Praveen Juge
Licence
MIT
Taille
24 × 24
Mots-clés
magnetsolid
Télécharger le SVG

Code SVG

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M2.25 5A2.75 2.75 0 0 1 5 2.25h1.625A2.75 2.75 0 0 1 9.375 5v7a2.625 2.625 0 0 0 5.25 0V5a2.75 2.75 0 0 1 2.75-2.75H19A2.75 2.75 0 0 1 21.75 5v7c0 5.385-4.365 9.75-9.75 9.75S2.25 17.385 2.25 12zM5 3.75c-.69 0-1.25.56-1.25 1.25v1.75h4.125V5c0-.69-.56-1.25-1.25-1.25zm11.125 3h4.125V5c0-.69-.56-1.25-1.25-1.25h-1.625c-.69 0-1.25.56-1.25 1.25z"/></svg>

Comment utiliser l'icône Magnet Solid

React

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

<Icon icon="mynaui:magnet-solid" width="24" />

Vue

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

<template>
  <Icon icon="mynaui:magnet-solid" width="24" />
</template>

Svelte

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

<Icon icon="mynaui:magnet-solid" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[mynaui--magnet-solid]"></span>

UnoCSS

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

Web component

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

<iconify-icon icon="mynaui:magnet-solid"></iconify-icon>

Image HTML

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

Icônes similaires dans Myna UI Icons

L'icône Magnet Solid dans d'autres collections

FAQ : Icône Magnet Solid

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

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

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

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

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

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

Voir toutes les Myna UI Icons →