ICONYZ
Bahasa Indonesia
Ikon Truck dari HeroIcons v1 Outline

Ikon Truck

heroicons-outline:truck

Ikon Truck (heroicons-outline:truck) adalah ikon SVG gratis dari set HeroIcons v1 Outline karya Refactoring UI Inc. Ikon ini digambar pada grid 24 × 24. HeroIcons v1 Outline icons dirilis di bawah lisensi MIT, yang mengizinkan penggunaan dalam proyek pribadi maupun komersial. Salin sebagai kode SVG, JSX, Vue, atau Svelte, atau unduh file SVG-nya.

Set ikon
HeroIcons v1 Outline
Pembuat
Refactoring UI Inc
Lisensi
MIT
Ukuran
24 × 24
Download SVG

Kode SVG

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><g fill="none"><path d="M9 17a2 2 0 1 1-4 0a2 2 0 0 1 4 0m10 0a2 2 0 1 1-4 0a2 2 0 0 1 4 0"/><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M13 16V6a1 1 0 0 0-1-1H4a1 1 0 0 0-1 1v10a1 1 0 0 0 1 1h1m8-1a1 1 0 0 1-1 1H9m4-1V8a1 1 0 0 1 1-1h2.586a1 1 0 0 1 .707.293l3.414 3.414a1 1 0 0 1 .293.707V16a1 1 0 0 1-1 1h-1m-6-1a1 1 0 0 0 1 1h1M5 17a2 2 0 1 0 4 0m-4 0a2 2 0 1 1 4 0m6 0a2 2 0 1 0 4 0m-4 0a2 2 0 1 1 4 0"/></g></svg>

Cara memakai ikon Truck

React

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

<Icon icon="heroicons-outline:truck" width="24" />

Vue

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

<template>
  <Icon icon="heroicons-outline:truck" width="24" />
</template>

Svelte

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

<Icon icon="heroicons-outline:truck" width="24" />

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="heroicons-outline:truck"></iconify-icon>

Gambar HTML

<img src="https://iconyz.com/api/public/svg/heroicons-outline/truck.svg" alt="Ikon Truck" width="24" height="24">

Ikon Truck di set ikon lain

FAQ Ikon Truck

Apakah ikon Truck gratis untuk penggunaan komersial?

Ya. HeroIcons v1 Outline icons dirilis di bawah lisensi MIT, yang mengizinkan penggunaan dalam proyek pribadi maupun komersial.

Bagaimana cara memakai ikon Truck di React?

Pasang @iconify/react lalu render <Icon icon="heroicons-outline:truck" />, atau gunakan “Salin kode” di halaman ini untuk mendapatkan komponen React mandiri.

Bagaimana cara menambahkan ikon Truck ke halaman web?

Tautkan file SVG di tag gambar: <img src="https://iconyz.com/api/public/svg/heroicons-outline/truck.svg" alt="Ikon Truck">, atau tempel kode SVG langsung di halaman untuk menatanya dengan CSS.

Lihat semua Ikon HeroIcons v1 Outline →