ICONYZ
English
Truck Line icon from Clarity

Truck Line icon

clarity:truck-line

The Truck Line icon (clarity:truck-line) is a free SVG icon from the Clarity set by VMware. It is drawn on a 36 × 36 grid. Clarity 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
Clarity
Author
VMware
License
MIT
Size
36 × 36
Category
Travel
Tags
truckline
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="36" height="36" viewBox="0 0 36 36"><path fill="currentColor" d="M30 12h-4V7a1 1 0 0 0-1-1H3a1 1 0 0 0-1 1v18a1 1 0 0 0 1 1h1V8h20v11.7a6.5 6.5 0 0 1 1.56-.2H26V14h4a2 2 0 0 1 2 2v1h-4v2h4v5h-2.4a4.54 4.54 0 0 0-8.34 0h-6.83a4.5 4.5 0 0 0-4.17-2.76A4.38 4.38 0 1 0 14.72 26H21a4.49 4.49 0 0 0 8.92 0H33a1 1 0 0 0 1-1v-9a4 4 0 0 0-4-4M10.26 28a2.38 2.38 0 1 1 0-4.75a2.38 2.38 0 1 1 0 4.75m15.17 0a2.38 2.38 0 1 1 2.5-2.37a2.44 2.44 0 0 1-2.5 2.37" class="clr-i-outline clr-i-outline-path-1"/><path fill="none" d="M0 0h36v36H0z"/></svg>

How to use the Truck Line icon

React

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

<Icon icon="clarity:truck-line" width="24" />

Vue

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

<template>
  <Icon icon="clarity:truck-line" width="24" />
</template>

Svelte

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

<Icon icon="clarity:truck-line" width="24" />

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="clarity:truck-line"></iconify-icon>

HTML image

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

Related icons in Clarity

Truck Line icon in other icon sets

Truck Line icon FAQ

Is the Truck Line icon free for commercial use?

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

How do I use the Truck Line icon in React?

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

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

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

Browse all Clarity icons →