ICONYZ
English
Truck icon from Feather Icon

Truck icon

fe:truck

The Truck icon (fe:truck) is a free SVG icon from the Feather Icon set by Megumi Hano. It is drawn on a 24 × 24 grid. Feather Icon 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
Feather Icon
Author
Megumi Hano
License
MIT
Size
24 × 24
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" fill-rule="evenodd" d="M10 18a3 3 0 0 1-6 0a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h11.001C16.105 4 17 4.895 17 5.999L20 6c2 0 2 2.896 2 4v6a2 2 0 0 1-2 2h-1a3 3 0 0 1-6 0zM4 6v9h11V6zm13 2v4h3V8zm-1 11a1 1 0 1 0 0-2a1 1 0 0 0 0 2m-9 0a1 1 0 1 0 0-2a1 1 0 0 0 0 2"/></svg>

How to use the Truck icon

React

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

<Icon icon="fe:truck" width="24" />

Vue

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

<template>
  <Icon icon="fe:truck" width="24" />
</template>

Svelte

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

<Icon icon="fe:truck" width="24" />

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="fe:truck"></iconify-icon>

HTML image

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

Truck icon in other icon sets

Truck icon FAQ

Is the Truck icon free for commercial use?

Yes. Feather Icon 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="fe: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/fe/truck.svg" alt="Truck icon">, or paste the SVG code inline to style it with CSS.

Browse all Feather Icon icons →