Ikon Squares 2x2
heroicons:squares-2x2
Ikon Squares 2x2 (heroicons:squares-2x2) 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
- Tag
- squares2x2, square
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="M3.75 6A2.25 2.25 0 0 1 6 3.75h2.25A2.25 2.25 0 0 1 10.5 6v2.25a2.25 2.25 0 0 1-2.25 2.25H6a2.25 2.25 0 0 1-2.25-2.25zm0 9.75A2.25 2.25 0 0 1 6 13.5h2.25a2.25 2.25 0 0 1 2.25 2.25V18a2.25 2.25 0 0 1-2.25 2.25H6A2.25 2.25 0 0 1 3.75 18zM13.5 6a2.25 2.25 0 0 1 2.25-2.25H18A2.25 2.25 0 0 1 20.25 6v2.25A2.25 2.25 0 0 1 18 10.5h-2.25a2.25 2.25 0 0 1-2.25-2.25zm0 9.75a2.25 2.25 0 0 1 2.25-2.25H18a2.25 2.25 0 0 1 2.25 2.25V18A2.25 2.25 0 0 1 18 20.25h-2.25A2.25 2.25 0 0 1 13.5 18z"/></svg>Cara memakai ikon Squares 2x2
React
import { Icon } from "@iconify/react";
<Icon icon="heroicons:squares-2x2" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="heroicons:squares-2x2" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="heroicons:squares-2x2" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[heroicons--squares-2x2]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/heroicons -->
<div class="i-heroicons:squares-2x2"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="heroicons:squares-2x2"></iconify-icon>Gambar HTML
<img src="https://iconyz.com/api/public/svg/heroicons/squares-2x2.svg" alt="Ikon Squares 2x2" width="24" height="24">Ikon terkait di HeroIcons
Ikon Squares 2x2 di set ikon lain
FAQ Ikon Squares 2x2
Apakah ikon Squares 2x2 gratis untuk penggunaan komersial?
Ya. HeroIcons dirilis di bawah lisensi MIT, yang mengizinkan penggunaan dalam proyek pribadi maupun komersial.
Bagaimana cara memakai ikon Squares 2x2 di React?
Pasang @iconify/react lalu render <Icon icon="heroicons:squares-2x2" />, atau gunakan “Salin kode” di halaman ini untuk mendapatkan komponen React mandiri.
Bagaimana cara menambahkan ikon Squares 2x2 ke halaman web?
Tautkan file SVG di tag gambar: <img src="https://iconyz.com/api/public/svg/heroicons/squares-2x2.svg" alt="Ikon Squares 2x2">, atau tempel kode SVG langsung di halaman untuk menatanya dengan CSS.