ICONYZ
English
Truck 2 icon from Ultimate free icons

Truck 2 icon

streamline-ultimate:truck-2

The Truck 2 icon (streamline-ultimate:truck-2) is a free SVG icon from the Ultimate free icons set by Streamline. It is drawn on a 24 × 24 grid. Ultimate free 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
Ultimate free icons
Author
Streamline
License
CC-BY-4.0
Size
24 × 24
Category
Transportation
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-linecap="round" stroke-linejoin="round" stroke-width="1.5"><path d="M15.75 18a2.25 2.25 0 1 0 4.5 0a2.25 2.25 0 0 0-4.5 0M3 18a2.25 2.25 0 1 0 4.499 0A2.25 2.25 0 0 0 3 18m12.75 0H7.5"/><path d="M3 18h-.75a1.5 1.5 0 0 1-1.5-1.5V5.25a1.5 1.5 0 0 1 1.5-1.5h15.485a3 3 0 0 1 2.622 1.543l2.232 4.018a5.24 5.24 0 0 1 .661 2.549v4.64a1.5 1.5 0 0 1-1.5 1.5h-1.5"/><path d="M.75 13.5h18.8a3 3 0 0 1 2.35 1.139l1.349 1.706M.75 6.75h20.416m-4.666 0v3.75M9 6.75v3.75m-8.25 0h22.321"/></g></svg>

How to use the Truck 2 icon

React

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

<Icon icon="streamline-ultimate:truck-2" width="24" />

Vue

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

<template>
  <Icon icon="streamline-ultimate:truck-2" width="24" />
</template>

Svelte

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

<Icon icon="streamline-ultimate:truck-2" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[streamline-ultimate--truck-2]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/streamline-ultimate -->
<div class="i-streamline-ultimate:truck-2"></div>

Web component

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

<iconify-icon icon="streamline-ultimate:truck-2"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/streamline-ultimate/truck-2.svg" alt="Truck 2 icon" width="24" height="24">

Related icons in Ultimate free icons

Truck 2 icon in other icon sets

Truck 2 icon FAQ

Is the Truck 2 icon free for commercial use?

Yes. Ultimate free 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 Truck 2 icon in React?

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

How do I add the Truck 2 icon to a web page?

Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/streamline-ultimate/truck-2.svg" alt="Truck 2 icon">, or paste the SVG code inline to style it with CSS.

Browse all Ultimate free icons →