ICONYZ
Français
Icône Tram Light de Phosphor

Icône Tram Light

ph:tram-light

L'icône Tram Light (ph:tram-light) est une icône SVG gratuite de la collection Phosphor par Phosphor Icons. Elle est dessinée sur une grille de 256 × 256. Les Phosphor 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
Phosphor
Auteur
Phosphor Icons
Licence
MIT
Taille
256 × 256
Mots-clés
vehicles, subway, railroad, public transit, transportation, commuter, light rail, shipping, traveling, places, locations, tramlight
Télécharger le SVG

Code SVG

<svg xmlns="http://www.w3.org/2000/svg" width="256" height="256" viewBox="0 0 256 256"><path fill="currentColor" d="M184 50h-50V22h34a6 6 0 0 0 0-12H88a6 6 0 0 0 0 12h34v28H72a30 30 0 0 0-30 30v104a30 30 0 0 0 30 30h12l-16.8 22.4a6 6 0 1 0 9.6 7.2L99 214h58l22.2 29.6a6 6 0 0 0 9.6-7.2L172 214h12a30 30 0 0 0 30-30V80a30 30 0 0 0-30-30M72 62h112a18 18 0 0 1 18 18v42H54V80a18 18 0 0 1 18-18m112 140H72a18 18 0 0 1-18-18v-50h148v50a18 18 0 0 1-18 18m-90-30a10 10 0 1 1-10-10a10 10 0 0 1 10 10m88 0a10 10 0 1 1-10-10a10 10 0 0 1 10 10"/></svg>

Comment utiliser l'icône Tram Light

React

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

<Icon icon="ph:tram-light" width="24" />

Vue

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

<template>
  <Icon icon="ph:tram-light" width="24" />
</template>

Svelte

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

<Icon icon="ph:tram-light" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[ph--tram-light]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/ph -->
<div class="i-ph:tram-light"></div>

Web component

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

<iconify-icon icon="ph:tram-light"></iconify-icon>

Image HTML

<img src="https://iconyz.com/api/public/svg/ph/tram-light.svg" alt="Icône Tram Light" width="24" height="24">

Icônes similaires dans Phosphor

FAQ : Icône Tram Light

L'icône Tram Light est-elle gratuite pour un usage commercial ?

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

Comment utiliser l'icône Tram Light dans React ?

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

Comment ajouter l'icône Tram Light à une page web ?

Liez le fichier SVG dans une balise image : <img src="https://iconyz.com/api/public/svg/ph/tram-light.svg" alt="Icône Tram Light">, ou collez le code SVG directement dans la page pour le styliser en CSS.

Voir toutes les Icônes Phosphor →