Ikon Octagon
feather:octagon
Ikon Octagon (feather:octagon) adalah ikon SVG gratis dari set Feather Icons karya Cole Bemis. Ikon ini digambar pada grid 24 × 24. Feather 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
- Feather Icons
- Pembuat
- Cole Bemis
- Lisensi
- MIT
- Ukuran
- 24 × 24
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="2" d="M7.86 2h8.28L22 7.86v8.28L16.14 22H7.86L2 16.14V7.86z"/></svg>Cara memakai ikon Octagon
React
import { Icon } from "@iconify/react";
<Icon icon="feather:octagon" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="feather:octagon" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="feather:octagon" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[feather--octagon]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/feather -->
<div class="i-feather:octagon"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="feather:octagon"></iconify-icon>Gambar HTML
<img src="https://iconyz.com/api/public/svg/feather/octagon.svg" alt="Ikon Octagon" width="24" height="24">Ikon Octagon di set ikon lain
FAQ Ikon Octagon
Apakah ikon Octagon gratis untuk penggunaan komersial?
Ya. Feather Icons dirilis di bawah lisensi MIT, yang mengizinkan penggunaan dalam proyek pribadi maupun komersial.
Bagaimana cara memakai ikon Octagon di React?
Pasang @iconify/react lalu render <Icon icon="feather:octagon" />, atau gunakan “Salin kode” di halaman ini untuk mendapatkan komponen React mandiri.
Bagaimana cara menambahkan ikon Octagon ke halaman web?
Tautkan file SVG di tag gambar: <img src="https://iconyz.com/api/public/svg/feather/octagon.svg" alt="Ikon Octagon">, atau tempel kode SVG langsung di halaman untuk menatanya dengan CSS.