Truck icon
andrsrxn:truck
The Truck icon (andrsrxn:truck) is a free SVG icon from the andrsrxn/icons set by Andrés Raxón. It is drawn on a 24 × 24 grid. andrsrxn/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
- andrsrxn/icons
- Author
- Andrés Raxón
- License
- MIT
- Size
- 24 × 24
- Category
- Transport, Travel
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><g fill="none"><path fill="currentColor" d="M16.9 9.88c0-2.83 0-4.24-.88-5.12s-2.3-.88-5.12-.88H7.73c-2.82 0-4.24 0-5.12.88s-.88 2.3-.88 5.12v5.45A1.46 1.46 0 0 0 4 16.54l.58-.39a2.7 2.7 0 0 1 3.12.1a2.7 2.7 0 0 0 1.62.54h2.17c.76 0 1.15 0 1.51-.1q.07 0 .15-.04c.36-.11.68-.31 1.34-.71l.5-.3l.3-.2a3 3 0 0 1 1.24-.34h.37z" opacity=".2"/><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M16.9 15.02V9.88c0-2.83 0-4.24-.88-5.12s-2.3-.88-5.12-.88H7.73c-2.82 0-4.24 0-5.12.88s-.88 2.3-.88 5.12v5.1c0 1 .81 1.8 1.8 1.8m14.97.01c1.66 0 2.49 0 3.05-.47l.25-.25c.47-.56.47-1.4.47-3.05v-.36c0-.99 0-1.48-.12-1.95q-.08-.31-.2-.61a8 8 0 0 0-1.08-1.63a4 4 0 0 0-.96-1.08a2 2 0 0 0-.4-.2c-.34-.13-.7-.13-1.44-.13h-1.13"/><circle cx="6.07" cy="17.52" r="2.6" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" transform="rotate(90 6.07 17.52)"/><circle cx="15.93" cy="17.52" r="2.6" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" transform="rotate(90 15.93 17.52)"/><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M8.67 16.79h4.66"/></g></svg>How to use the Truck icon
React
import { Icon } from "@iconify/react";
<Icon icon="andrsrxn:truck" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="andrsrxn:truck" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="andrsrxn:truck" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[andrsrxn--truck]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/andrsrxn -->
<div class="i-andrsrxn:truck"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="andrsrxn:truck"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/andrsrxn/truck.svg" alt="Truck icon" width="24" height="24">Related icons in andrsrxn/icons
Truck icon in other icon sets
Truck icon FAQ
Is the Truck icon free for commercial use?
Yes. andrsrxn/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="andrsrxn: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/andrsrxn/truck.svg" alt="Truck icon">, or paste the SVG code inline to style it with CSS.