Heroicons Truck 20 Solid Icon
IconStash indexes the Truck 20 Solid icon from Heroicons alongside 134,701 icons from 28 open-source libraries. It a clean SVG vector format, making it well suited for travel booking platforms, fleet management dashboards, logistics apps, ride-hailing UIs, and route planners. Set an exact pixel size from 16px to 512px and download a lossless PNG in one click.
Interactive Customizer
About this icon
Use the Truck 20 Solid icon
The Truck 20 Solid icon from Heroicons fits naturally in travel booking platforms, fleet management dashboards, logistics apps, ride-hailing UIs, and route planners. Its bold style makes it ideal for interface components and product UI.
Open it in IconStash to set stroke color via presets or a custom hex value, choose an exact pixel size (16–512px), control stroke width (0.1–3px), and preview against dark, light, or checkered backgrounds before downloading.
Export formats
Copy clean SVG vectors with one click, generate custom-size PNG files from 16px to 512px, export JSX/React components ready to paste into your project, or use the icon as a CSS background-mask for flexible theming.
All exports are based on the same editable vector — so the Truck 20 Solid icon stays pixel-perfect at 16px, 24px, 48px, and any large marketing size.
Design & UX integration
Aesthetic characteristics
Heroicons is made by the Tailwind CSS team, and Truck 20 Solid shows it: geometry tuned to sit on Tailwind's spacing scale and to stay legible at 16px, 20px and 24px. Every icon ships in both outline and solid, so you can change style without changing size or re-aligning anything.
UX best practices
In booking, fleet and logistics interfaces, use the Truck 20 Solid icon as a supporting glyph beside a text label. Mode-of-transport shapes are genuinely ambiguous across regions — a "train" glyph is drawn differently in Europe, Japan and North America — so never let the icon carry the meaning on its own.
Use in your project
React / npm — Heroicons
npm install @heroicons/react
import { Truck20SolidIcon } from '@heroicons/react/24/outline';
// JSX usage:
<Truck20SolidIcon className="h-6 w-6 text-gray-700" />
Copy the SVG markup directly from the IconStash editor to use the Truck 20 Solid icon without any npm package — paste it into HTML, JSX, or a design tool.
Inline SVG (copy & paste)
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" role="img" aria-label="truck-20-solid icon"><g fill="currentColor"><path d="M6.5 3q-1.577 0-3.125.117A1.49 1.49 0 0 0 2 4.607V10.5h9V4.606c0-.771-.59-1.43-1.375-1.489A42 42 0 0 0 6.5 3M2 12v2.5A1.5 1.5 0 0 0 3.5 16h.041a3 3 0 0 1 5.918 0h.791a.75.75 0 0 0 .75-.75V12z"/><path d="M6.5 18a1.5 1.5 0 1 0 0-3a1.5 1.5 0 0 0 0 3m6.75-13a.75.75 0 0 0-.75.75v8.514a3 3 0 0 1 4.893 1.44c.37-.275.61-.719.595-1.227a24.9 24.9 0 0 0-1.784-8.549A1.49 1.49 0 0 0 14.823 5zm1.25 13a1.5 1.5 0 1 0 0-3a1.5 1.5 0 0 0 0 3"/></g></svg>
Library & related icons
About Heroicons
Hand-crafted SVG icons by the makers of Tailwind CSS. Available in outline and solid variants at 16px, 20px, and 24px — perfect for Tailwind-based projects.
Browse all 1,297 Heroicons icons →Related searches
People also search for
Frequently asked questions
What is the Truck 20 Solid icon?
The Truck 20 Solid icon is a bold-style SVG icon from the Heroicons library, categorized under Transport. It is designed for use in travel booking platforms, fleet management dashboards, logistics apps, ride-hailing UIs, and route planners. On IconStash you can preview it, customize its color and size, and export it in SVG, PNG, JSX, or CSS formats directly from your browser.
Is the Truck 20 Solid icon free to use?
Yes. Heroicons is licensed under MIT, making it free for personal and commercial use. This means you can freely use the Truck 20 Solid icon in personal, commercial, and open-source projects. IconStash provides SVG and PNG access at no cost with no login required.
How do I use the Truck 20 Solid icon in React?
Install the package with `npm install @heroicons/react`, then import the component into your React file. IconStash's detail panel shows you the exact npm command, import statement, and JSX usage snippet for every icon — just click the Code tab and copy with one click.
What is the Heroicons icon library?
Hand-crafted SVG icons by the makers of Tailwind CSS. Available in outline and solid variants at 16px, 20px, and 24px — perfect for Tailwind-based projects. It contains 1,297+ icons. IconStash indexes the complete Heroicons collection alongside 27 other open-source libraries — 134,701 icons total — in a single unified search interface.
Can I download the Truck 20 Solid icon as a PNG?
Yes. Open the Truck 20 Solid icon in IconStash, set your desired pixel size (16px to 512px) in the detail panel, and click Download PNG. You can also export a multi-resolution ZIP pack containing 16, 24, 32, 48, 64, 128, 256, and 512px PNGs with a single click.
What does the bold icon style mean?
An icon in bold style uses a clean SVG vector format. This style is best suited for interface components. The Heroicons Truck 20 Solid icon follows this visual convention throughout the Heroicons design system.
Can I change the Truck 20 Solid icon's color and size before downloading?
Yes. In IconStash's editor panel, choose from six color presets (blue, slate, green, purple, red, teal) or enter a custom hex value. Drag the size slider (16–256px) or type an exact pixel value up to 512px. Changes apply instantly to the SVG preview, the PNG output, and the copied code.