Ikon Swatch
hugeicons:swatch
Ikon Swatch (hugeicons:swatch) adalah ikon SVG gratis dari set Huge Icons karya Hugeicons. Ikon ini digambar pada grid 24 × 24. Huge 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
- Huge Icons
- Pembuat
- Hugeicons
- Lisensi
- MIT
- Ukuran
- 24 × 24
Kode SVG
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><g fill="none" stroke="currentColor"><path stroke-linecap="round" stroke-width="1.5" d="M16.555 4c.463.429.987.965 1.616 1.609C20.057 7.538 21 8.502 21 9.7s-.943 2.162-2.829 4.092l-6.4 6.547q-.364.37-.771.66"/><path stroke-linecap="round" stroke-width="1.5" d="M2 16.615C2 19.59 4.487 22 7.556 22h8.888c2.62 0 3.929 0 4.742-.789c.814-.788.814-2.057.814-4.596c0-.607 0-1.142-.011-1.615"/><path stroke-width="1.5" d="M2 7.556c0-2.62 0-3.929.805-4.742C3.611 2 4.907 2 7.5 2s3.89 0 4.695.814C13 3.627 13 4.937 13 7.556v8.888C13 19.513 10.538 22 7.5 22S2 19.513 2 16.444z"/><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M7.5 17.5h.009"/><path stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M2 8h11M2 13h11"/></g></svg>Cara memakai ikon Swatch
React
import { Icon } from "@iconify/react";
<Icon icon="hugeicons:swatch" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="hugeicons:swatch" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="hugeicons:swatch" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[hugeicons--swatch]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/hugeicons -->
<div class="i-hugeicons:swatch"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="hugeicons:swatch"></iconify-icon>Gambar HTML
<img src="https://iconyz.com/api/public/svg/hugeicons/swatch.svg" alt="Ikon Swatch" width="24" height="24">Ikon terkait di Huge Icons
Ikon Swatch di set ikon lain
FAQ Ikon Swatch
Apakah ikon Swatch gratis untuk penggunaan komersial?
Ya. Huge Icons dirilis di bawah lisensi MIT, yang mengizinkan penggunaan dalam proyek pribadi maupun komersial.
Bagaimana cara memakai ikon Swatch di React?
Pasang @iconify/react lalu render <Icon icon="hugeicons:swatch" />, atau gunakan “Salin kode” di halaman ini untuk mendapatkan komponen React mandiri.
Bagaimana cara menambahkan ikon Swatch ke halaman web?
Tautkan file SVG di tag gambar: <img src="https://iconyz.com/api/public/svg/hugeicons/swatch.svg" alt="Ikon Swatch">, atau tempel kode SVG langsung di halaman untuk menatanya dengan CSS.