ICONYZ
English
Truck Solid icon from Clarity

Truck Solid icon

clarity:truck-solid

The Truck Solid icon (clarity:truck-solid) 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
trucksolid
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 1h1V8h20v13.49A4.45 4.45 0 0 0 21.25 24h-6.82a4.5 4.5 0 0 0-4.17-2.76A4.38 4.38 0 1 0 14.72 26H21a4.48 4.48 0 0 0 8.91 0H34V16a4 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 25.42 28ZM32 17h-6v-3h4a2 2 0 0 1 2 2Z" class="clr-i-solid clr-i-solid-path-1"/><path fill="none" d="M0 0h36v36H0z"/></svg>

How to use the Truck Solid icon

React

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

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

Vue

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

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

Svelte

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

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

Tailwind CSS

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

UnoCSS

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

Web component

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

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

HTML image

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

Related icons in Clarity

Truck Solid icon in other icon sets

Truck Solid icon FAQ

Is the Truck Solid 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 Solid icon in React?

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

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

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

Browse all Clarity icons →