Ikon Trash
heroicons:trash
Ikon Trash (heroicons:trash) 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="m14.74 9l-.346 9m-4.788 0L9.26 9m9.968-3.21q.512.078 1.022.166m-1.022-.165L18.16 19.673a2.25 2.25 0 0 1-2.244 2.077H8.084a2.25 2.25 0 0 1-2.244-2.077L4.772 5.79m14.456 0a48 48 0 0 0-3.478-.397m-12 .562q.51-.088 1.022-.165m0 0a48 48 0 0 1 3.478-.397m7.5 0v-.916c0-1.18-.91-2.164-2.09-2.201a52 52 0 0 0-3.32 0c-1.18.037-2.09 1.022-2.09 2.201v.916m7.5 0a49 49 0 0 0-7.5 0"/></svg>Cara memakai ikon Trash
React
import { Icon } from "@iconify/react";
<Icon icon="heroicons:trash" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="heroicons:trash" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="heroicons:trash" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[heroicons--trash]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/heroicons -->
<div class="i-heroicons:trash"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="heroicons:trash"></iconify-icon>Gambar HTML
<img src="https://iconyz.com/api/public/svg/heroicons/trash.svg" alt="Ikon Trash" width="24" height="24">Ikon terkait di HeroIcons
Ikon Trash di set ikon lain
FAQ Ikon Trash
Apakah ikon Trash gratis untuk penggunaan komersial?
Ya. HeroIcons dirilis di bawah lisensi MIT, yang mengizinkan penggunaan dalam proyek pribadi maupun komersial.
Bagaimana cara memakai ikon Trash di React?
Pasang @iconify/react lalu render <Icon icon="heroicons:trash" />, atau gunakan “Salin kode” di halaman ini untuk mendapatkan komponen React mandiri.
Bagaimana cara menambahkan ikon Trash ke halaman web?
Tautkan file SVG di tag gambar: <img src="https://iconyz.com/api/public/svg/heroicons/trash.svg" alt="Ikon Trash">, atau tempel kode SVG langsung di halaman untuk menatanya dengan CSS.