Truck icon
pepicons-print:truck
The Truck icon (pepicons-print:truck) is a free SVG icon from the Pepicons Print set by CyCraft. It is drawn on a 20 × 20 grid. Pepicons Print 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
- Pepicons Print
- Author
- CyCraft
- License
- CC-BY-4.0
- Size
- 20 × 20
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><g fill="currentColor"><path fill-rule="evenodd" d="M9 6h9a2 2 0 0 1 2 2v7a2 2 0 0 1-.906 1.675a2.25 2.25 0 1 1-4.288.325h-4.612q.056.241.056.5a2.25 2.25 0 1 1-4.444-.5H3a2 2 0 0 1-2-2v-2l.8-2.59A2 2 0 0 1 3.71 9H7V8a2 2 0 0 1 2-2" clip-rule="evenodd" opacity=".2"/><path fill-rule="evenodd" d="M5.5 16.5a2 2 0 1 0 4 0a2 2 0 0 0-4 0m3 0a1 1 0 1 1-2 0a1 1 0 0 1 2 0m6 0a2 2 0 1 0 4 0a2 2 0 0 0-4 0m3 0a1 1 0 1 1-2 0a1 1 0 0 1 2 0" clip-rule="evenodd"/><path fill-rule="evenodd" d="M17 4.5H9a2 2 0 0 0-2 2v7a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2v-7a2 2 0 0 0-2-2m-9 2a1 1 0 0 1 1-1h8a1 1 0 0 1 1 1v7a1 1 0 0 1-1 1H9a1 1 0 0 1-1-1z" clip-rule="evenodd"/><path d="M10.25 8.5a.5.5 0 0 1 0-1h5.5a.5.5 0 0 1 0 1zm0 2a.5.5 0 0 1 0-1h5.5a.5.5 0 0 1 0 1zm0 2a.5.5 0 0 1 0-1h5.5a.5.5 0 0 1 0 1z"/><path fill-rule="evenodd" d="M6 7.5H2.71A2 2 0 0 0 .8 8.91L0 11.5v2a2 2 0 0 0 2 2h4a2 2 0 0 0 2-2v-4a2 2 0 0 0-2-2m-5 6v-1.85l.755-2.445A1 1 0 0 1 2.71 8.5H6a1 1 0 0 1 1 1v4a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1" clip-rule="evenodd"/><path fill-rule="evenodd" d="M4.5 9.6H2.79a.5.5 0 0 0-.484.378l-.29 1.15L2 11.25v.85a.5.5 0 0 0 .5.5h2a.5.5 0 0 0 .5-.5v-2a.5.5 0 0 0-.5-.5m-1.5 2v-.288l.18-.712H4v1z" clip-rule="evenodd"/></g></svg>How to use the Truck icon
React
import { Icon } from "@iconify/react";
<Icon icon="pepicons-print:truck" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="pepicons-print:truck" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="pepicons-print:truck" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[pepicons-print--truck]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/pepicons-print -->
<div class="i-pepicons-print:truck"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="pepicons-print:truck"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/pepicons-print/truck.svg" alt="Truck icon" width="24" height="24">Related icons in Pepicons Print
Truck icon in other icon sets
Truck icon FAQ
Is the Truck icon free for commercial use?
Yes. Pepicons Print 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 icon in React?
Install @iconify/react and render <Icon icon="pepicons-print: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/pepicons-print/truck.svg" alt="Truck icon">, or paste the SVG code inline to style it with CSS.