Ikon Truck
heroicons:truck
Ikon Truck (heroicons:truck) adalah ikon SVG gratis dari set HeroIcons karya Refactoring UI Inc. Ikon ini digambar pada grid 24 × 24. HeroIcons 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
- Pembuat
- Refactoring UI Inc
- Lisensi
- MIT
- Ukuran
- 24 × 24
Kode SVG
<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="1.5" d="M8.25 18.75a1.5 1.5 0 0 1-3 0m3 0a1.5 1.5 0 0 0-3 0m3 0h6m-9 0H3.375a1.125 1.125 0 0 1-1.125-1.125V14.25m17.25 4.5a1.5 1.5 0 0 1-3 0m3 0a1.5 1.5 0 0 0-3 0m3 0h1.125c.621 0 1.129-.504 1.09-1.124a17.9 17.9 0 0 0-3.213-9.193a2.06 2.06 0 0 0-1.58-.86H14.25M16.5 18.75h-2.25m0-11.177v-.958c0-.568-.422-1.048-.987-1.106a48.6 48.6 0 0 0-10.026 0a1.106 1.106 0 0 0-.987 1.106v7.635m12-6.677v6.677m0 4.5v-4.5m0 0h-12"/></svg>Cara memakai ikon Truck
React
import { Icon } from "@iconify/react";
<Icon icon="heroicons:truck" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="heroicons:truck" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="heroicons:truck" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[heroicons--truck]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/heroicons -->
<div class="i-heroicons:truck"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="heroicons:truck"></iconify-icon>Gambar HTML
<img src="https://iconyz.com/api/public/svg/heroicons/truck.svg" alt="Ikon Truck" width="24" height="24">Ikon terkait di HeroIcons
Ikon Truck di set ikon lain
FAQ Ikon Truck
Apakah ikon Truck gratis untuk penggunaan komersial?
Ya. HeroIcons 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: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/truck.svg" alt="Ikon Truck">, atau tempel kode SVG langsung di halaman untuk menatanya dengan CSS.