ICONYZ
Bahasa Indonesia
Ikon Slash dari HeroIcons

Ikon Slash

heroicons:slash

Ikon Slash (heroicons:slash) 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
Download SVG

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="m9 20.248l6-16.5"/></svg>

Cara memakai ikon Slash

React

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

<Icon icon="heroicons:slash" width="24" />

Vue

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

<template>
  <Icon icon="heroicons:slash" width="24" />
</template>

Svelte

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

<Icon icon="heroicons:slash" width="24" />

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="heroicons:slash"></iconify-icon>

Gambar HTML

<img src="https://iconyz.com/api/public/svg/heroicons/slash.svg" alt="Ikon Slash" width="24" height="24">

Ikon terkait di HeroIcons

Ikon Slash di set ikon lain

FAQ Ikon Slash

Apakah ikon Slash gratis untuk penggunaan komersial?

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

Bagaimana cara memakai ikon Slash di React?

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

Bagaimana cara menambahkan ikon Slash ke halaman web?

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

Lihat semua HeroIcons →