ICONYZ
English
Tram Linear icon from Solar

Tram Linear icon

solar:tram-linear

The Tram Linear icon (solar:tram-linear) is a free SVG icon from the Solar set by 480 Design. It is drawn on a 24 × 24 grid. Solar 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
Solar
Author
480 Design
License
CC-BY-4.0
Size
24 × 24
Category
Parts
Tags
tramlinear
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-width="1.5"><path d="M4 10C4 6.22876 4 4.34315 5.17157 3.17157C6.34315 2 8.22876 2 12 2C15.7712 2 17.6569 2 18.8284 3.17157C20 4.34315 20 6.22876 20 10V12C20 15.7712 20 17.6569 18.8284 18.8284C17.6569 20 15.7712 20 12 20C8.22876 20 6.34315 20 5.17157 18.8284C4 17.6569 4 15.7712 4 12V10Z"/><path stroke-linecap="round" stroke-linejoin="round" d="M4 13H20"/><path stroke-linecap="round" stroke-linejoin="round" d="M15.5 16H17"/><path stroke-linecap="round" stroke-linejoin="round" d="M7 16H8.5"/><path stroke-linecap="round" stroke-linejoin="round" d="M7 20L6 22"/><path stroke-linecap="round" stroke-linejoin="round" d="M17 20L18 22"/><path stroke-linecap="round" stroke-linejoin="round" d="M10 2V2.5C10 3.60457 10.8954 4.5 12 4.5C13.1046 4.5 14 3.60457 14 2.5V2"/></g></svg>

How to use the Tram Linear icon

React

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

<Icon icon="solar:tram-linear" width="24" />

Vue

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

<template>
  <Icon icon="solar:tram-linear" width="24" />
</template>

Svelte

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

<Icon icon="solar:tram-linear" width="24" />

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="solar:tram-linear"></iconify-icon>

HTML image

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

Related icons in Solar

Tram Linear icon FAQ

Is the Tram Linear icon free for commercial use?

Yes. Solar 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 Linear icon in React?

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

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

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

Browse all Solar icons →