ICONYZ
Bahasa Indonesia
Ikon Swatch dari WordPress Icons

Ikon Swatch

wordpress:swatch

Ikon Swatch (wordpress:swatch) adalah ikon SVG gratis dari set WordPress Icons karya The WordPress Contributors. Ikon ini digambar pada grid 24 × 24. WordPress Icons dirilis di bawah lisensi GPL, yang mengizinkan penggunaan dalam proyek pribadi maupun komersial; versi file ikon yang dimodifikasi harus tetap memakai lisensi yang sama. Salin sebagai kode SVG, JSX, Vue, atau Svelte, atau unduh file SVG-nya.

Set ikon
WordPress Icons
Pembuat
The WordPress Contributors
Lisensi
GPL-2.0-or-later
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-width="1.5" d="M11.054 4.812a7.3 7.3 0 0 1 1.892 0m1.828.49a7.2 7.2 0 0 1 1.64.946m1.338 1.338a7.2 7.2 0 0 1 .946 1.64m.49 1.828a7.3 7.3 0 0 1 0 1.892m-.49 1.828a7.3 7.3 0 0 1-.946 1.64m-1.338 1.338a7.3 7.3 0 0 1-1.64.946m-1.828.49a7.3 7.3 0 0 1-1.892 0m-1.828-.49a7.3 7.3 0 0 1-1.64-.946m-1.338-1.338a7.3 7.3 0 0 1-.946-1.64m-.49-1.828a7.3 7.3 0 0 1 0-1.892m.49-1.828a7.3 7.3 0 0 1 .946-1.64m1.338-1.338a7.3 7.3 0 0 1 1.64-.946"/></svg>

Cara memakai ikon Swatch

React

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

<Icon icon="wordpress:swatch" width="24" />

Vue

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

<template>
  <Icon icon="wordpress:swatch" width="24" />
</template>

Svelte

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

<Icon icon="wordpress:swatch" width="24" />

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="wordpress:swatch"></iconify-icon>

Gambar HTML

<img src="https://iconyz.com/api/public/svg/wordpress/swatch.svg" alt="Ikon Swatch" width="24" height="24">

Ikon Swatch di set ikon lain

FAQ Ikon Swatch

Apakah ikon Swatch gratis untuk penggunaan komersial?

Ya. WordPress Icons dirilis di bawah lisensi GPL, yang mengizinkan penggunaan dalam proyek pribadi maupun komersial; versi file ikon yang dimodifikasi harus tetap memakai lisensi yang sama.

Bagaimana cara memakai ikon Swatch di React?

Pasang @iconify/react lalu render <Icon icon="wordpress: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/wordpress/swatch.svg" alt="Ikon Swatch">, atau tempel kode SVG langsung di halaman untuk menatanya dengan CSS.

Lihat semua WordPress Icons →