Ikon Sun
icomoon-free:sun
Ikon Sun (icomoon-free:sun) adalah ikon SVG gratis dari set IcoMoon Free karya Keyamoon. Ikon ini digambar pada grid 24 × 24. IcoMoon Free icons dirilis di bawah lisensi GPL, yang mengizinkan penggunaan dalam proyek pribadi maupun komersial; versi file ikon yang dimodifikasi harus tetap memakai lisensi yang sama. Salin sebagai kode SVG, JSX, Vue, atau Svelte, atau unduh file SVG-nya.
- Set ikon
- IcoMoon Free
- Pembuat
- Keyamoon
- Lisensi
- GPL-3.0-or-later
- Ukuran
- 24 × 24
Kode SVG
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M8 13a1 1 0 0 1 1 1v1a1 1 0 0 1-2 0v-1a1 1 0 0 1 1-1M8 3a1 1 0 0 1-1-1V1a1 1 0 0 1 2 0v1a1 1 0 0 1-1 1m7 4a1 1 0 0 1 0 2h-1a1 1 0 0 1 0-2zM3 8a1 1 0 0 1-1 1H1a1 1 0 0 1 0-2h1a1 1 0 0 1 1 1m9.95 3.536l.707.707a1 1 0 0 1-1.414 1.414l-.707-.707a1 1 0 0 1 1.414-1.414m-9.9-7.072l-.707-.707a.999.999 0 1 1 1.414-1.414l.707.707A.999.999 0 1 1 3.05 4.464m9.9 0a.999.999 0 1 1-1.414-1.414l.707-.707a.999.999 0 1 1 1.414 1.414zm-9.9 7.072a1 1 0 0 1 1.414 1.414l-.707.707a1 1 0 0 1-1.414-1.414zM8 4a4 4 0 1 0 0 8a4 4 0 0 0 0-8m0 6.5a2.5 2.5 0 1 1 0-5a2.5 2.5 0 0 1 0 5"/></svg>Cara memakai ikon Sun
React
import { Icon } from "@iconify/react";
<Icon icon="icomoon-free:sun" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="icomoon-free:sun" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="icomoon-free:sun" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[icomoon-free--sun]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/icomoon-free -->
<div class="i-icomoon-free:sun"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="icomoon-free:sun"></iconify-icon>Gambar HTML
<img src="https://iconyz.com/api/public/svg/icomoon-free/sun.svg" alt="Ikon Sun" width="24" height="24">Ikon Sun di set ikon lain
FAQ Ikon Sun
Apakah ikon Sun gratis untuk penggunaan komersial?
Ya. IcoMoon Free icons dirilis di bawah lisensi GPL, yang mengizinkan penggunaan dalam proyek pribadi maupun komersial; versi file ikon yang dimodifikasi harus tetap memakai lisensi yang sama.
Bagaimana cara memakai ikon Sun di React?
Pasang @iconify/react lalu render <Icon icon="icomoon-free:sun" />, atau gunakan “Salin kode” di halaman ini untuk mendapatkan komponen React mandiri.
Bagaimana cara menambahkan ikon Sun ke halaman web?
Tautkan file SVG di tag gambar: <img src="https://iconyz.com/api/public/svg/icomoon-free/sun.svg" alt="Ikon Sun">, atau tempel kode SVG langsung di halaman untuk menatanya dengan CSS.