ICONYZ
Bahasa Indonesia
Ikon Trash2 Fill dari Bootstrap Icons

Ikon Trash2 Fill

bi:trash2-fill

Ikon Trash2 Fill (bi:trash2-fill) adalah ikon SVG gratis dari set Bootstrap Icons karya The Bootstrap Authors. Ikon ini digambar pada grid 24 × 24. Bootstrap 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
Bootstrap Icons
Pembuat
The Bootstrap Authors
Lisensi
MIT
Ukuran
24 × 24
Tag
trash2fill
Download SVG

Kode SVG

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M2.037 3.225A.7.7 0 0 1 2 3c0-1.105 2.686-2 6-2s6 .895 6 2a.7.7 0 0 1-.037.225l-1.684 10.104A2 2 0 0 1 10.305 15H5.694a2 2 0 0 1-1.973-1.671zm9.89-.69C10.966 2.214 9.578 2 8 2c-1.58 0-2.968.215-3.926.534c-.477.16-.795.327-.975.466c.18.14.498.307.975.466C5.032 3.786 6.42 4 8 4s2.967-.215 3.926-.534c.477-.16.795-.327.975-.466c-.18-.14-.498-.307-.975-.466z"/></svg>

Cara memakai ikon Trash2 Fill

React

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

<Icon icon="bi:trash2-fill" width="24" />

Vue

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

<template>
  <Icon icon="bi:trash2-fill" width="24" />
</template>

Svelte

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

<Icon icon="bi:trash2-fill" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[bi--trash2-fill]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/bi -->
<div class="i-bi:trash2-fill"></div>

Web component

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

<iconify-icon icon="bi:trash2-fill"></iconify-icon>

Gambar HTML

<img src="https://iconyz.com/api/public/svg/bi/trash2-fill.svg" alt="Ikon Trash2 Fill" width="24" height="24">

Ikon terkait di Bootstrap Icons

FAQ Ikon Trash2 Fill

Apakah ikon Trash2 Fill gratis untuk penggunaan komersial?

Ya. Bootstrap Icons dirilis di bawah lisensi MIT, yang mengizinkan penggunaan dalam proyek pribadi maupun komersial.

Bagaimana cara memakai ikon Trash2 Fill di React?

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

Bagaimana cara menambahkan ikon Trash2 Fill ke halaman web?

Tautkan file SVG di tag gambar: <img src="https://iconyz.com/api/public/svg/bi/trash2-fill.svg" alt="Ikon Trash2 Fill">, atau tempel kode SVG langsung di halaman untuk menatanya dengan CSS.

Lihat semua Bootstrap Icons →