Ikon Stars
hugeicons:stars
Ikon Stars (hugeicons:stars) 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
- Tag
- star
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 stroke-linejoin="round" d="M20 4.5L19.5 2L19 4.5l.5 2.5z"/><path stroke-linejoin="round" d="M22 4.5L19.5 4l-2.5.5l2.5.5z"/><path stroke-linecap="round" d="M3.25 20.083v1.334m1-.667a1 1 0 1 1-2 0a1 1 0 0 1 2 0Z"/><path d="m12.84 7.64l-.615-2.666a1.257 1.257 0 0 0-2.45 0L9.16 7.64c-.23.999-.346 1.498-.592 1.908a3 3 0 0 1-1.02 1.02c-.41.246-.909.362-1.908.592l-2.666.615a1.257 1.257 0 0 0 0 2.45l2.666.615c.999.23 1.498.346 1.908.592a3 3 0 0 1 1.02 1.02c.246.41.361.909.592 1.908l.615 2.666a1.257 1.257 0 0 0 2.45 0l.615-2.666c.23-.999.346-1.498.592-1.908a3 3 0 0 1 1.02-1.02c.41-.246.909-.362 1.908-.592l2.666-.615a1.257 1.257 0 0 0 0-2.45l-2.666-.615c-.999-.23-1.498-.346-1.908-.592a3 3 0 0 1-1.02-1.02c-.246-.41-.362-.909-.592-1.908Z"/></g></svg>Cara memakai ikon Stars
React
import { Icon } from "@iconify/react";
<Icon icon="hugeicons:stars" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="hugeicons:stars" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="hugeicons:stars" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[hugeicons--stars]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/hugeicons -->
<div class="i-hugeicons:stars"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="hugeicons:stars"></iconify-icon>Gambar HTML
<img src="https://iconyz.com/api/public/svg/hugeicons/stars.svg" alt="Ikon Stars" width="24" height="24">Ikon Stars di set ikon lain
FAQ Ikon Stars
Apakah ikon Stars gratis untuk penggunaan komersial?
Ya. Huge Icons dirilis di bawah lisensi MIT, yang mengizinkan penggunaan dalam proyek pribadi maupun komersial.
Bagaimana cara memakai ikon Stars di React?
Pasang @iconify/react lalu render <Icon icon="hugeicons:stars" />, atau gunakan “Salin kode” di halaman ini untuk mendapatkan komponen React mandiri.
Bagaimana cara menambahkan ikon Stars ke halaman web?
Tautkan file SVG di tag gambar: <img src="https://iconyz.com/api/public/svg/hugeicons/stars.svg" alt="Ikon Stars">, atau tempel kode SVG langsung di halaman untuk menatanya dengan CSS.