Ícone Trash 2
feather:trash-2
O ícone Trash 2 (feather:trash-2) é um ícone SVG gratuito da coleção Feather Icons de Cole Bemis. Ele é desenhado em uma grade de 24 × 24. Feather Icons são publicados sob a licença MIT, que permite o uso em projetos pessoais e comerciais. Copie como código SVG, JSX, Vue ou Svelte, ou baixe o arquivo SVG.
- Coleção
- Feather Icons
- Autor
- Cole Bemis
- Licença
- MIT
- Tamanho
- 24 × 24
Código 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="2" d="M3 6h18m-2 0v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6m3 0V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2m-6 5v6m4-6v6"/></svg>Como usar o ícone Trash 2
React
import { Icon } from "@iconify/react";
<Icon icon="feather:trash-2" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="feather:trash-2" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="feather:trash-2" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[feather--trash-2]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/feather -->
<div class="i-feather:trash-2"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="feather:trash-2"></iconify-icon>Imagem HTML
<img src="https://iconyz.com/api/public/svg/feather/trash-2.svg" alt="Ícone Trash 2" width="24" height="24">Ícones relacionados em Feather Icons
O ícone Trash 2 em outras coleções
Perguntas frequentes sobre Ícone Trash 2
O ícone Trash 2 é grátis para uso comercial?
Sim. Feather Icons são publicados sob a licença MIT, que permite o uso em projetos pessoais e comerciais.
Como uso o ícone Trash 2 no React?
Instale @iconify/react e renderize <Icon icon="feather:trash-2" />, ou use “Copiar código” nesta página para obter um componente React independente.
Como adiciono o ícone Trash 2 a uma página web?
Vincule o arquivo SVG em uma tag de imagem: <img src="https://iconyz.com/api/public/svg/feather/trash-2.svg" alt="Ícone Trash 2">, ou cole o código SVG diretamente na página para estilizá-lo com CSS.