Ikon Key
heroicons-solid:key
Ikon Key (heroicons-solid:key) adalah ikon SVG gratis dari set HeroIcons v1 Solid karya Refactoring UI Inc. Ikon ini digambar pada grid 20 × 20. HeroIcons v1 Solid 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
- HeroIcons v1 Solid
- Pembuat
- Refactoring UI Inc
- Lisensi
- MIT
- Ukuran
- 20 × 20
Kode SVG
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><path fill="currentColor" fill-rule="evenodd" d="M18 8a6 6 0 0 1-7.743 5.743L10 14l-1 1l-1 1H6v2H2v-4l4.257-4.257A6 6 0 1 1 18 8m-6-4a1 1 0 1 0 0 2a2 2 0 0 1 2 2a1 1 0 1 0 2 0a4 4 0 0 0-4-4" clip-rule="evenodd"/></svg>Cara memakai ikon Key
React
import { Icon } from "@iconify/react";
<Icon icon="heroicons-solid:key" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="heroicons-solid:key" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="heroicons-solid:key" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[heroicons-solid--key]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/heroicons-solid -->
<div class="i-heroicons-solid:key"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="heroicons-solid:key"></iconify-icon>Gambar HTML
<img src="https://iconyz.com/api/public/svg/heroicons-solid/key.svg" alt="Ikon Key" width="24" height="24">Ikon Key di set ikon lain
FAQ Ikon Key
Apakah ikon Key gratis untuk penggunaan komersial?
Ya. HeroIcons v1 Solid icons dirilis di bawah lisensi MIT, yang mengizinkan penggunaan dalam proyek pribadi maupun komersial.
Bagaimana cara memakai ikon Key di React?
Pasang @iconify/react lalu render <Icon icon="heroicons-solid:key" />, atau gunakan “Salin kode” di halaman ini untuk mendapatkan komponen React mandiri.
Bagaimana cara menambahkan ikon Key ke halaman web?
Tautkan file SVG di tag gambar: <img src="https://iconyz.com/api/public/svg/heroicons-solid/key.svg" alt="Ikon Key">, atau tempel kode SVG langsung di halaman untuk menatanya dengan CSS.