ICONYZ
English
Tram icon from Röntgen

Tram icon

roentgen:tram

The Tram icon (roentgen:tram) is a free SVG icon from the Röntgen set by Sergey Vartanov. It is drawn on a 24 × 24 grid. Röntgen icons are released under the CC BY 4.0 license, which allows use in personal and commercial projects as long as you credit the author. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.

Icon set
Röntgen
Author
Sergey Vartanov
License
CC-BY-4.0
Size
24 × 24
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M5.5 1a.5.5 0 0 0-.354.854L6.293 3H5a1 1 0 0 0-1 1v8a1 1 0 0 0 .998 1l.002.5a.5.5 0 0 0 1 0V13h4v.5a.5.5 0 0 0 1 0V13a1 1 0 0 0 1-1V4.001A1 1 0 0 0 11.002 3H9.707l1.146-1.146A.499.499 0 0 0 10.501 1zm2.207 2l-1-1h2.586l-1 1zM5.499 4H10.5a.5.5 0 0 1 .5.5v4a.5.5 0 0 1-.499.5H5.5a.5.5 0 0 1-.5-.5V4.501A.5.5 0 0 1 5.499 4M7 11a1 1 0 1 1 2 0a1 1 0 0 1-2 0"/></svg>

How to use the Tram icon

React

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

<Icon icon="roentgen:tram" width="24" />

Vue

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

<template>
  <Icon icon="roentgen:tram" width="24" />
</template>

Svelte

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

<Icon icon="roentgen:tram" width="24" />

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="roentgen:tram"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/roentgen/tram.svg" alt="Tram icon" width="24" height="24">

Tram icon in other icon sets

Tram icon FAQ

Is the Tram icon free for commercial use?

Yes. Röntgen icons are released under the CC BY 4.0 license, which allows use in personal and commercial projects as long as you credit the author.

How do I use the Tram icon in React?

Install @iconify/react and render <Icon icon="roentgen:tram" />, or use “Copy code” on this page to get a standalone React component.

How do I add the Tram icon to a web page?

Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/roentgen/tram.svg" alt="Tram icon">, or paste the SVG code inline to style it with CSS.

Browse all Röntgen icons →