Ikon Code
ph:code
Ikon Code (ph:code) adalah ikon SVG gratis dari set Phosphor karya Phosphor Icons. Ikon ini digambar pada grid 256 × 256. Phosphor 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
- Phosphor
- Pembuat
- Phosphor Icons
- Lisensi
- MIT
- Ukuran
- 256 × 256
- Tag
- angle brackets, angle braces, snippets
Kode SVG
<svg xmlns="http://www.w3.org/2000/svg" width="256" height="256" viewBox="0 0 256 256"><path fill="currentColor" d="M69.12 94.15L28.5 128l40.62 33.85a8 8 0 1 1-10.24 12.29l-48-40a8 8 0 0 1 0-12.29l48-40a8 8 0 0 1 10.24 12.3m176 27.7l-48-40a8 8 0 1 0-10.24 12.3L227.5 128l-40.62 33.85a8 8 0 1 0 10.24 12.29l48-40a8 8 0 0 0 0-12.29m-82.39-89.37a8 8 0 0 0-10.25 4.79l-64 176a8 8 0 0 0 4.79 10.26A8.1 8.1 0 0 0 96 224a8 8 0 0 0 7.52-5.27l64-176a8 8 0 0 0-4.79-10.25"/></svg>Cara memakai ikon Code
React
import { Icon } from "@iconify/react";
<Icon icon="ph:code" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="ph:code" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="ph:code" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[ph--code]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/ph -->
<div class="i-ph:code"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="ph:code"></iconify-icon>Gambar HTML
<img src="https://iconyz.com/api/public/svg/ph/code.svg" alt="Ikon Code" width="24" height="24">Ikon terkait di Phosphor
code-block
code-block-bold
code-block-duotone
code-block-fill
code-block-light
code-block-thin
code-bold
code-duotone
code-fill
code-light
code-simple
code-simple-bold
code-simple-duotone
code-simple-fill
code-simple-light
code-simple-thin
code-thin
codepen-logo
codepen-logo-bold
codepen-logo-duotone
codepen-logo-fill
codepen-logo-light
codepen-logo-thin
codesandbox-logo
Ikon Code di set ikon lain
FAQ Ikon Code
Apakah ikon Code gratis untuk penggunaan komersial?
Ya. Phosphor icons dirilis di bawah lisensi MIT, yang mengizinkan penggunaan dalam proyek pribadi maupun komersial.
Bagaimana cara memakai ikon Code di React?
Pasang @iconify/react lalu render <Icon icon="ph:code" />, atau gunakan “Salin kode” di halaman ini untuk mendapatkan komponen React mandiri.
Bagaimana cara menambahkan ikon Code ke halaman web?
Tautkan file SVG di tag gambar: <img src="https://iconyz.com/api/public/svg/ph/code.svg" alt="Ikon Code">, atau tempel kode SVG langsung di halaman untuk menatanya dengan CSS.