Ikon React
hugeicons:react
Ikon React (hugeicons:react) adalah ikon SVG gratis dari set Huge Icons karya Hugeicons. Ikon ini digambar pada grid 24 × 24. Huge 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
- Huge Icons
- Pembuat
- Hugeicons
- Lisensi
- MIT
- Ukuran
- 24 × 24
Kode SVG
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-width="1.5"><path d="M12 8c5.523 0 10 1.79 10 4s-4.477 4-10 4s-10-1.79-10-4s4.477-4 10-4Z"/><path d="M15.56 9.975c2.836 4.842 3.543 9.674 1.577 10.792s-5.859-1.9-8.696-6.742S4.897 4.35 6.863 3.233s5.859 1.9 8.696 6.742Z"/><path d="M15.56 14.025c-2.838 4.842-6.731 7.86-8.697 6.742s-1.26-5.95 1.578-10.792s6.73-7.86 8.696-6.742s1.26 5.95-1.578 10.792Z"/><path stroke-linecap="round" stroke-linejoin="round" d="M12.25 12H12m.5 0a.5.5 0 1 1-1 0a.5.5 0 0 1 1 0"/></g></svg>Cara memakai ikon React
React
import { Icon } from "@iconify/react";
<Icon icon="hugeicons:react" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="hugeicons:react" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="hugeicons:react" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[hugeicons--react]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/hugeicons -->
<div class="i-hugeicons:react"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="hugeicons:react"></iconify-icon>Gambar HTML
<img src="https://iconyz.com/api/public/svg/hugeicons/react.svg" alt="Ikon React" width="24" height="24">Ikon React di set ikon lain
FAQ Ikon React
Apakah ikon React gratis untuk penggunaan komersial?
Ya. Huge Icons dirilis di bawah lisensi MIT, yang mengizinkan penggunaan dalam proyek pribadi maupun komersial.
Bagaimana cara memakai ikon React di React?
Pasang @iconify/react lalu render <Icon icon="hugeicons:react" />, atau gunakan “Salin kode” di halaman ini untuk mendapatkan komponen React mandiri.
Bagaimana cara menambahkan ikon React ke halaman web?
Tautkan file SVG di tag gambar: <img src="https://iconyz.com/api/public/svg/hugeicons/react.svg" alt="Ikon React">, atau tempel kode SVG langsung di halaman untuk menatanya dengan CSS.