ICONYZ
English
Truck icon from Griddy Icons

Truck icon

griddy-icons:truck

The Truck icon (griddy-icons:truck) is a free SVG icon from the Griddy Icons set by Zuzana Benova. It is drawn on a 24 × 24 grid. Griddy Icons are released under the MIT license, which allows use in personal and commercial projects. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.

Icon set
Griddy Icons
Author
Zuzana Benova
License
MIT
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="M18.795 6.5H16.5V4H2.005L1.88 19h2.225c.33 1.15 1.385 2 2.645 2s2.315-.85 2.645-2h4.715c.33 1.15 1.385 2 2.645 2s2.315-.85 2.645-2h1.355c.69 0 1.25-.56 1.25-1.25v-5.7L18.8 6.5zM17.93 8l2.02 3.5H16.5V8zM4.105 17.5h-.71l.1-12H15v10.63c-.425.35-.74.825-.895 1.37H9.39c-.33-1.15-1.385-2-2.645-2s-2.315.85-2.645 2zm2.645 2a1.25 1.25 0 1 1 0-2.5a1.25 1.25 0 0 1 0 2.5m10 0a1.25 1.25 0 1 1 0-2.5a1.25 1.25 0 0 1 0 2.5m2.645-2c-.33-1.15-1.385-2-2.645-2q-.129 0-.25.015V13h4v4.5z"/></svg>

How to use the Truck icon

React

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

<Icon icon="griddy-icons:truck" width="24" />

Vue

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

<template>
  <Icon icon="griddy-icons:truck" width="24" />
</template>

Svelte

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

<Icon icon="griddy-icons:truck" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[griddy-icons--truck]"></span>

UnoCSS

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

Web component

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

<iconify-icon icon="griddy-icons:truck"></iconify-icon>

HTML image

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

Related icons in Griddy Icons

Truck icon in other icon sets

Truck icon FAQ

Is the Truck icon free for commercial use?

Yes. Griddy Icons are released under the MIT license, which allows use in personal and commercial projects.

How do I use the Truck icon in React?

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

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

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

Browse all Griddy Icons →