Icône Train 20 Bold
energy-icons:train-20-bold
L'icône Train 20 Bold (energy-icons:train-20-bold) 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
- Mots-clés
- trainbold
Code SVG
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><path fill="currentColor" d="M15.208 4.583a1.46 1.46 0 0 0-1.459-1.458h-7.5c-.805 0-1.458.653-1.458 1.458v9.167c0 .805.653 1.458 1.458 1.458h7.5a1.46 1.46 0 0 0 1.459-1.458zm1.25 9.167a2.71 2.71 0 0 1-2.709 2.708h-7.5a2.71 2.71 0 0 1-2.708-2.708V4.583a2.71 2.71 0 0 1 2.708-2.708h7.5a2.71 2.71 0 0 1 2.709 2.708z"/><path fill="currentColor" d="M13.124 5.417a.21.21 0 0 0-.208-.208H7.082a.21.21 0 0 0-.208.208v2.5c0 .115.093.208.208.208h5.834a.21.21 0 0 0 .208-.208zm1.25 2.5c0 .805-.652 1.458-1.458 1.458H7.082a1.46 1.46 0 0 1-1.458-1.458v-2.5c0-.806.653-1.458 1.458-1.458h5.834c.806 0 1.458.652 1.458 1.458zm-7.083 4.166a.209.209 0 1 0-.417.001a.209.209 0 0 0 .417-.001m1.25 0a1.46 1.46 0 1 1-2.918 0a1.46 1.46 0 0 1 2.918 0m4.584 0a.209.209 0 1 0-.418.001a.209.209 0 0 0 .418-.001m1.25 0a1.46 1.46 0 1 1-2.919 0a1.46 1.46 0 0 1 2.919 0M7.186 16.18l-1.666 2.5a.626.626 0 0 1-1.041-.693l1.667-2.5zm8.334 1.807a.625.625 0 1 1-1.04.693l-1.668-2.5l1.041-.693z"/></svg>Comment utiliser l'icône Train 20 Bold
React
import { Icon } from "@iconify/react";
<Icon icon="energy-icons:train-20-bold" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="energy-icons:train-20-bold" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="energy-icons:train-20-bold" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[energy-icons--train-20-bold]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/energy-icons -->
<div class="i-energy-icons:train-20-bold"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="energy-icons:train-20-bold"></iconify-icon>Image HTML
<img src="https://iconyz.com/api/public/svg/energy-icons/train-20-bold.svg" alt="Icône Train 20 Bold" width="24" height="24">Icônes similaires dans Energy Icons
FAQ : Icône Train 20 Bold
L'icône Train 20 Bold 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 Train 20 Bold dans React ?
Installez @iconify/react et affichez <Icon icon="energy-icons:train-20-bold" />, ou utilisez « Copier le code » sur cette page pour obtenir un composant React autonome.
Comment ajouter l'icône Train 20 Bold à une page web ?
Liez le fichier SVG dans une balise image : <img src="https://iconyz.com/api/public/svg/energy-icons/train-20-bold.svg" alt="Icône Train 20 Bold">, ou collez le code SVG directement dans la page pour le styliser en CSS.