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

Icône Ship 20

energy-icons:ship-20

L'icône Ship 20 (energy-icons:ship-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="M17.5 11a.5.5 0 0 1 .424.765l-2.5 4A.5.5 0 0 1 15 16H5a.5.5 0 0 1-.424-.235l-2.5-4A.5.5 0 0 1 2.5 11zM5.277 15h9.447l1.875-3H3.402z"/><path fill="currentColor" d="M13 11.5V8H7v3.5a.5.5 0 0 1-1 0v-4a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 .5.5v4a.5.5 0 1 1-1 0"/><path fill="currentColor" d="M10.5 7.5v-3h-1v3a.5.5 0 0 1-1 0V4a.5.5 0 0 1 .5-.5h2a.5.5 0 0 1 .5.5v3.5a.5.5 0 1 1-1 0m-.742 10.063c1.35-.749 3.134-.749 4.484 0c1.05.581 2.467.581 3.516 0a.5.5 0 0 1 .484.875c-1.35.748-3.133.748-4.484 0c-1.05-.582-2.466-.582-3.516 0c-1.35.748-3.133.748-4.484 0c-1.05-.582-2.466-.582-3.516 0a.5.5 0 0 1-.484-.875c1.35-.749 3.134-.749 4.484 0c1.05.581 2.467.581 3.516 0"/></svg>

Comment utiliser l'icône Ship 20

React

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

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

Vue

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

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

Svelte

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

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

Tailwind CSS

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

UnoCSS

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

Image HTML

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

Icônes similaires dans Energy Icons

FAQ : Icône Ship 20

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

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

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

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

Voir toutes les Energy Icons →