Ikon Key
heroicons-outline:key
Ikon Key (heroicons-outline:key) adalah ikon SVG gratis dari set HeroIcons v1 Outline karya Refactoring UI Inc. Ikon ini digambar pada grid 24 × 24. HeroIcons v1 Outline 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 Outline
- Pembuat
- Refactoring UI Inc
- 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="M15 7a2 2 0 0 1 2 2m4 0a6 6 0 0 1-7.743 5.743L11 17H9v2H7v2H4a1 1 0 0 1-1-1v-2.586a1 1 0 0 1 .293-.707l5.964-5.964A6 6 0 1 1 21 9"/></svg>Cara memakai ikon Key
React
import { Icon } from "@iconify/react";
<Icon icon="heroicons-outline:key" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="heroicons-outline:key" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="heroicons-outline:key" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[heroicons-outline--key]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/heroicons-outline -->
<div class="i-heroicons-outline:key"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="heroicons-outline:key"></iconify-icon>Gambar HTML
<img src="https://iconyz.com/api/public/svg/heroicons-outline/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 Outline 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-outline: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-outline/key.svg" alt="Ikon Key">, atau tempel kode SVG langsung di halaman untuk menatanya dengan CSS.