ICONYZ
Bahasa Indonesia
Ikon Foreground dari Boxicons

Ikon Foreground

boxicons:foreground

Ikon Foreground (boxicons:foreground) adalah ikon SVG gratis dari set Boxicons. Ikon ini digambar pada grid 24 × 24. Boxicons 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
Pembuat
Boxicons
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="currentColor" d="M21 5c0-1.1-.9-2-2-2H5c-1.1 0-2 .9-2 2v6H2v2h1v6c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-6h1v-2h-1zM5 9h2V7H5V5h2v2h2V5h2v2h2V5h2v2h2V5h2v2h-2v2h2v2h-2V9h-2v2h-2V9h-2v2H9V9H7v2H5zm14 10H5v-6h14z"/><path fill="currentColor" d="M9 7h2v2H9zm4 0h2v2h-2z"/></svg>

Cara memakai ikon Foreground

React

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

<Icon icon="boxicons:foreground" width="24" />

Vue

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

<template>
  <Icon icon="boxicons:foreground" width="24" />
</template>

Svelte

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

<Icon icon="boxicons:foreground" width="24" />

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="boxicons:foreground"></iconify-icon>

Gambar HTML

<img src="https://iconyz.com/api/public/svg/boxicons/foreground.svg" alt="Ikon Foreground" width="24" height="24">

Ikon terkait di Boxicons

Ikon Foreground di set ikon lain

FAQ Ikon Foreground

Apakah ikon Foreground gratis untuk penggunaan komersial?

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

Bagaimana cara memakai ikon Foreground di React?

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

Bagaimana cara menambahkan ikon Foreground ke halaman web?

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

Lihat semua Boxicons →