ICONYZ
Français
Icône Hard Drive de Majesticons

Icône Hard Drive

majesticons:hard-drive

L'icône Hard Drive (majesticons:hard-drive) est une icône SVG gratuite de la collection Majesticons par Gerrit Halfmann. Elle est dessinée sur une grille de 24 × 24. Les Majesticons 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
Majesticons
Auteur
Gerrit Halfmann
Licence
MIT
Taille
24 × 24
Mots-clés
harddrive
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" fill-rule="evenodd" d="M4 5a3 3 0 0 1 3-3h10a3 3 0 0 1 3 3v9H4zm0 11v3a3 3 0 0 0 3 3h10a3 3 0 0 0 3-3v-3zm9 2a1 1 0 1 0 0 2h3a1 1 0 1 0 0-2z" clip-rule="evenodd"/></svg>

Comment utiliser l'icône Hard Drive

React

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

<Icon icon="majesticons:hard-drive" width="24" />

Vue

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

<template>
  <Icon icon="majesticons:hard-drive" width="24" />
</template>

Svelte

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

<Icon icon="majesticons:hard-drive" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[majesticons--hard-drive]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/majesticons -->
<div class="i-majesticons:hard-drive"></div>

Web component

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

<iconify-icon icon="majesticons:hard-drive"></iconify-icon>

Image HTML

<img src="https://iconyz.com/api/public/svg/majesticons/hard-drive.svg" alt="Icône Hard Drive" width="24" height="24">

Icônes similaires dans Majesticons

L'icône Hard Drive dans d'autres collections

FAQ : Icône Hard Drive

L'icône Hard Drive est-elle gratuite pour un usage commercial ?

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

Comment utiliser l'icône Hard Drive dans React ?

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

Comment ajouter l'icône Hard Drive à une page web ?

Liez le fichier SVG dans une balise image : <img src="https://iconyz.com/api/public/svg/majesticons/hard-drive.svg" alt="Icône Hard Drive">, ou collez le code SVG directement dans la page pour le styliser en CSS.

Voir toutes les Majesticons →