Truck icon
keyline-icons:truck
The Truck icon (keyline-icons:truck) is a free SVG icon from the Keyline Icons set. It is drawn on a 24 × 24 grid. Keyline 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
- Keyline Icons
- Author
- Keyline Icons
- License
- MIT
- Size
- 24 × 24
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M14 18V7C14 5.34315 12.6569 4 11 4H5C3.34315 4 2 5.34315 2 7V17C2 17.5523 2.44772 18 3 18H4M10 18H14M20 18H21C21.5523 18 22 17.5523 22 17V13C22 12.4696 21.7893 11.9609 21.4142 11.5858L18.4142 8.58579C18.0391 8.21071 17.5304 8 17 8H14M9 18C9 19.1046 8.1046 20 7 20C5.8954 20 5 19.1046 5 18C5 16.8954 5.8954 16 7 16C8.1046 16 9 16.8954 9 18ZM19 18C19 19.1046 18.1046 20 17 20C15.8954 20 15 19.1046 15 18C15 16.8954 15.8954 16 17 16C18.1046 16 19 16.8954 19 18Z"/></svg>How to use the Truck icon
React
import { Icon } from "@iconify/react";
<Icon icon="keyline-icons:truck" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="keyline-icons:truck" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="keyline-icons:truck" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[keyline-icons--truck]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/keyline-icons -->
<div class="i-keyline-icons:truck"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="keyline-icons:truck"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/keyline-icons/truck.svg" alt="Truck icon" width="24" height="24">Related icons in Keyline Icons
truck-arrow-down
truck-arrow-down-duotone
truck-arrow-down-fill
truck-arrow-down-sharp
truck-arrow-down-sharp-duotone
truck-arrow-down-sharp-fill
truck-arrow-down-sharp-two-tone
truck-arrow-down-two-tone
truck-arrow-left
truck-arrow-left-duotone
truck-arrow-left-fill
truck-arrow-left-sharp
truck-arrow-left-sharp-duotone
truck-arrow-left-sharp-fill
truck-arrow-left-sharp-two-tone
truck-arrow-left-two-tone
truck-arrow-right
truck-arrow-right-duotone
truck-arrow-right-fill
truck-arrow-right-sharp
truck-arrow-right-sharp-duotone
truck-arrow-right-sharp-fill
truck-arrow-right-sharp-two-tone
truck-arrow-right-two-tone
Truck icon in other icon sets
Truck icon FAQ
Is the Truck icon free for commercial use?
Yes. Keyline 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="keyline-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/keyline-icons/truck.svg" alt="Truck icon">, or paste the SVG code inline to style it with CSS.