ICONYZ
Français
Icône Train Duotone de Sargam Icons

Icône Train Duotone

si:train-duotone

L'icône Train Duotone (si:train-duotone) est une icône SVG gratuite de la collection Sargam Icons par Abhimanyu Rana. Elle est dessinée sur une grille de 24 × 24. Les Sargam 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
Sargam Icons
Auteur
Abhimanyu Rana
Licence
MIT
Taille
24 × 24
Mots-clés
trainduotone
Télécharger le SVG

Code SVG

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><g fill="none"><path fill="currentColor" fill-opacity=".16" d="M18.6 19a2.4 2.4 0 0 0 2.4-2.4V11H3v5.6A2.4 2.4 0 0 0 5.4 19z"/><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" stroke-width="1.5" d="M8 22h8M3 11h18M5.4 2h13.2A2.4 2.4 0 0 1 21 4.4v12.2a2.4 2.4 0 0 1-2.4 2.4H5.4A2.4 2.4 0 0 1 3 16.6V4.4A2.4 2.4 0 0 1 5.4 2M8 15a1 1 0 1 1-2 0a1 1 0 0 1 2 0m10 0a1 1 0 1 1-2 0a1 1 0 0 1 2 0"/></g></svg>

Comment utiliser l'icône Train Duotone

React

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

<Icon icon="si:train-duotone" width="24" />

Vue

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

<template>
  <Icon icon="si:train-duotone" width="24" />
</template>

Svelte

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

<Icon icon="si:train-duotone" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[si--train-duotone]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/si -->
<div class="i-si:train-duotone"></div>

Web component

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

<iconify-icon icon="si:train-duotone"></iconify-icon>

Image HTML

<img src="https://iconyz.com/api/public/svg/si/train-duotone.svg" alt="Icône Train Duotone" width="24" height="24">

Icônes similaires dans Sargam Icons

L'icône Train Duotone dans d'autres collections

FAQ : Icône Train Duotone

L'icône Train Duotone est-elle gratuite pour un usage commercial ?

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

Comment utiliser l'icône Train Duotone dans React ?

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

Comment ajouter l'icône Train Duotone à une page web ?

Liez le fichier SVG dans une balise image : <img src="https://iconyz.com/api/public/svg/si/train-duotone.svg" alt="Icône Train Duotone">, ou collez le code SVG directement dans la page pour le styliser en CSS.

Voir toutes les Sargam Icons →