Ikon Square
bx:square
Ikon Square (bx:square) adalah ikon SVG gratis dari set BoxIcons v2 karya Boxicons. Ikon ini digambar pada grid 24 × 24. BoxIcons v2 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
- BoxIcons v2
- Pembuat
- Boxicons
- Lisensi
- MIT
- Ukuran
- 24 × 24
- Tag
- bx square
Kode SVG
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M20 3H4a1 1 0 0 0-1 1v16a1 1 0 0 0 1 1h16a1 1 0 0 0 1-1V4a1 1 0 0 0-1-1m-1 16H5V5h14z"/></svg>Cara memakai ikon Square
React
import { Icon } from "@iconify/react";
<Icon icon="bx:square" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="bx:square" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="bx:square" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[bx--square]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/bx -->
<div class="i-bx:square"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="bx:square"></iconify-icon>Gambar HTML
<img src="https://iconyz.com/api/public/svg/bx/square.svg" alt="Ikon Square" width="24" height="24">Ikon terkait di BoxIcons v2
Ikon Square di set ikon lain
FAQ Ikon Square
Apakah ikon Square gratis untuk penggunaan komersial?
Ya. BoxIcons v2 icons dirilis di bawah lisensi MIT, yang mengizinkan penggunaan dalam proyek pribadi maupun komersial.
Bagaimana cara memakai ikon Square di React?
Pasang @iconify/react lalu render <Icon icon="bx:square" />, atau gunakan “Salin kode” di halaman ini untuk mendapatkan komponen React mandiri.
Bagaimana cara menambahkan ikon Square ke halaman web?
Tautkan file SVG di tag gambar: <img src="https://iconyz.com/api/public/svg/bx/square.svg" alt="Ikon Square">, atau tempel kode SVG langsung di halaman untuk menatanya dengan CSS.