tram icon
tram from Carbon by IBM · Outline · Planning · Apache-2.0 Free for personal and commercial use.
- Name
- tram
- Set
- Carbon
- Style
- Outline
- Category
- Planning
- Viewbox
- 32×32
- License
- Apache 2.0
The same icon in other sets
tramEmoji One (Colored)tram-fillFramework7 IconstramFont Awesome SolidtramFluent EmojitramFluent Emoji FlattramFluent Emoji High ContrasttramFirefox OS EmojitramHuge IconstramIconoirtramLine AwesometramMaterial SymbolstramMaterial Symbols LighttramMaterial Design IconstramNoto EmojitramOpenMojitramPhosphortram-boldSolartramTwitter Emoji
More planning icons from Carbon
accumulation-iceaccumulation-precipitationaccumulation-rainaccumulation-snowagriculture-analyticsairline-digital-gateairline-manage-gatesairline-passenger-careairline-rapid-boardairport-01airport-02airport-locationalarmalarm-addalarm-subtractarray-date-timearray-timearrivalbaggage-claimbarbicyclebootbuoybus
Use the tram icon
SVG
<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 32 32"><path fill="currentColor" d="M21 6h-4V4h6V2H9v2h6v2h-4a5.006 5.006 0 0 0-5 5v11a4.99 4.99 0 0 0 3.582 4.77L8.198 30h2.176l1.285-3h8.682l1.286 3h2.175l-1.384-3.23A4.99 4.99 0 0 0 26 22V11a5.006 5.006 0 0 0-5-5M11 8h10a2.995 2.995 0 0 1 2.816 2H8.184A2.995 2.995 0 0 1 11 8m13 13h-3v2h2.816A2.995 2.995 0 0 1 21 25H11a2.995 2.995 0 0 1-2.816-2H11v-2H8v-2h16Zm0-4H8v-5h16Z"/></svg>
React
import type { SVGProps } from "react";
export function CarbonTram(props: SVGProps<SVGSVGElement>) {
return (
<svg {...props} xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 32 32"><path fill="currentColor" d="M21 6h-4V4h6V2H9v2h6v2h-4a5.006 5.006 0 0 0-5 5v11a4.99 4.99 0 0 0 3.582 4.77L8.198 30h2.176l1.285-3h8.682l1.286 3h2.175l-1.384-3.23A4.99 4.99 0 0 0 26 22V11a5.006 5.006 0 0 0-5-5M11 8h10a2.995 2.995 0 0 1 2.816 2H8.184A2.995 2.995 0 0 1 11 8m13 13h-3v2h2.816A2.995 2.995 0 0 1 21 25H11a2.995 2.995 0 0 1-2.816-2H11v-2H8v-2h16Zm0-4H8v-5h16Z"/></svg>
);
}
Vue
<template> <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 32 32"><path fill="currentColor" d="M21 6h-4V4h6V2H9v2h6v2h-4a5.006 5.006 0 0 0-5 5v11a4.99 4.99 0 0 0 3.582 4.77L8.198 30h2.176l1.285-3h8.682l1.286 3h2.175l-1.384-3.23A4.99 4.99 0 0 0 26 22V11a5.006 5.006 0 0 0-5-5M11 8h10a2.995 2.995 0 0 1 2.816 2H8.184A2.995 2.995 0 0 1 11 8m13 13h-3v2h2.816A2.995 2.995 0 0 1 21 25H11a2.995 2.995 0 0 1-2.816-2H11v-2H8v-2h16Zm0-4H8v-5h16Z"/></svg> </template>
CSS
.icon-tram {
width: 24px;
height: 24px;
background-color: currentColor;
-webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221em%22%20height%3D%221em%22%20viewBox%3D%220%200%2032%2032%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M21%206h-4V4h6V2H9v2h6v2h-4a5.006%205.006%200%200%200-5%205v11a4.99%204.99%200%200%200%203.582%204.77L8.198%2030h2.176l1.285-3h8.682l1.286%203h2.175l-1.384-3.23A4.99%204.99%200%200%200%2026%2022V11a5.006%205.006%200%200%200-5-5M11%208h10a2.995%202.995%200%200%201%202.816%202H8.184A2.995%202.995%200%200%201%2011%208m13%2013h-3v2h2.816A2.995%202.995%200%200%201%2021%2025H11a2.995%202.995%200%200%201-2.816-2H11v-2H8v-2h16Zm0-4H8v-5h16Z%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221em%22%20height%3D%221em%22%20viewBox%3D%220%200%2032%2032%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M21%206h-4V4h6V2H9v2h6v2h-4a5.006%205.006%200%200%200-5%205v11a4.99%204.99%200%200%200%203.582%204.77L8.198%2030h2.176l1.285-3h8.682l1.286%203h2.175l-1.384-3.23A4.99%204.99%200%200%200%2026%2022V11a5.006%205.006%200%200%200-5-5M11%208h10a2.995%202.995%200%200%201%202.816%202H8.184A2.995%202.995%200%200%201%2011%208m13%2013h-3v2h2.816A2.995%202.995%200%200%201%2021%2025H11a2.995%202.995%200%200%201-2.816-2H11v-2H8v-2h16Zm0-4H8v-5h16Z%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
}Direct links: SVG · download · JSON · https://iconsdb.app/api/v1/icon/carbon/tram.svg?color=%231a73e8&size=48