IonIcons
ion · 1.357 ikon · karya Ben Sperry · MIT · satu warna · grid 32 px · Diperbarui
IonIcons adalah set ikon gratis dan open source dengan 1.357 ikon SVG karya Ben Sperry, dirilis di bawah lisensi MIT. Ikonnya satu warna: mengikuti warna teks Anda (currentColor) dan warnanya bisa diubah dengan CSS. Ikon ini dirancang di grid 32 px dan tetap tajam saat diskalakan sebagai SVG.
Spesifikasi desain IonIcons
- garis dan terisi
- monokrom
- membulat
Aturan gambar set ini, diukur dari file SVG-nya. Gunakan untuk merancang ikon baru yang serasi dengannya.
| Kanvas | 512 × 512 |
|---|---|
| viewBox | 0 0 512 512 |
| Area gambar | 448 × 448, padding 32 |
| Gaya gambar | Campuran garis dan isian |
| Ketebalan garis | 32 |
| Ujung garis | Bulat |
| Sambungan garis | Bulat |
| Radius sudut | 16 |
| Warna | Satu warna (currentColor), bisa diubah dengan CSS |
| Koordinat | Hingga 2 angka desimal |
| Garis lurus | 66% horizontal atau vertikal, 16% bersudut 45° |
| Kurva | 49% dari perintah gambar |
| Simetri | 39% ikon simetris kiri-kanan |
| Elemen per ikon | 1.8 |
| Perintah gambar per ikon | 15 |
Diukur dari 64 ikon dalam set ini.
Pembuatan ikon dengan AI
Lisensinya mengizinkan ikon baru turunan dari set ini.
- Cantumkan kredit untuk pembuat aslinya.
Baris kredit: Based on IonIcons by Ben Sperry, licensed under MIT. https://github.com/ionic-team/ionicons/blob/main/LICENSE
Panduan gaya untuk prompt LLM (bahasa Inggris)
Tempelkan ke prompt bersama beberapa ikon dari set ini, lalu sebutkan ikon yang Anda inginkan.
You draw new icons for the "IonIcons" icon set (Iconify prefix "ion") by Ben Sperry.
Style: mixed outline and fill, monochrome, rounded.
Iconify describes the set as: Precise Shapes, Has Padding.
Canvas
- Root: <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">.
- Keep the drawing inside a 448x448 live area: about 32 units of padding on every side (never less than 11).
- A typical icon's bounding box covers 66% of the canvas.
Drawing
- Icons mix strokes and filled shapes (stroke 52%, fill 47%, mixed 2%).
- stroke-width="32" (widths used: 32 48%, 48 3%, 42 2%).
- stroke-linecap="round", stroke-linejoin="round".
- Round corners with a radius of about 16.
Geometry
- Coordinates are free-form; write at most 2 decimals.
- Straight lines: 66% horizontal or vertical, 16% at 45 degrees.
- About 49% of drawing commands are curves or arcs.
- Keep it simple: about 2 elements and 15 drawing commands per icon.
- Elements used by the set: path, rect, circle.
Color
- Monochrome: paint with currentColor only, never a fixed color.
Output
- Reply with one complete <svg> element and nothing else: no comments, <title>, ids or scripts.
- Match the examples: reuse their shapes for shared parts (arrow heads, people, documents, badges).Tentang IonIcons
IonIcons yang populer antara lain code download sharp, contrast outline, checkmark done, navigate sharp, arrow redo outline dan bookmark sharp.
Buka ikon mana pun untuk menyalinnya sebagai SVG, JSX, Vue, Svelte, Solid, Astro, atau CSS, atau download sebagai SVG atau PNG. IonIcons dirilis di bawah lisensi MIT, yang mengizinkan penggunaan dalam proyek pribadi maupun komersial.
Cara memakai IonIcons
Setiap ikon di halaman ini bisa dipakai di framework apa pun. Contoh menggunakan ion:code-download-sharp; buka ikon untuk menyalin kode SVG, JSX, Vue, Svelte, Solid, Astro, atau CSS yang persis. Untuk tips ukuran, warna, dan aksesibilitas, baca cara memakai ikon SVG.
React
import { Icon } from "@iconify/react";
<Icon icon="ion:code-download-sharp" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="ion:code-download-sharp" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="ion:code-download-sharp" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[ion--code-download-sharp]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/ion -->
<div class="i-ion:code-download-sharp"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="ion:code-download-sharp"></iconify-icon>Gambar HTML
<img src="https://iconyz.com/api/public/svg/ion/code-download-sharp.svg" alt="Ikon Code Download Sharp" width="24" height="24">FAQ IonIcons
Apakah IonIcons gratis untuk penggunaan komersial?
Ya. IonIcons dirilis di bawah lisensi MIT, yang mengizinkan penggunaan dalam proyek pribadi maupun komersial.
Berapa jumlah ikon di IonIcons?
IonIcons berisi 1.357 ikon.
Apa lisensi IonIcons?
IonIcons dilisensikan di bawah MIT. Teks lengkap lisensi tersedia di https://github.com/ionic-team/ionicons/blob/main/LICENSE.
Siapa pembuat IonIcons?
IonIcons dibuat oleh Ben Sperry.
Bagaimana cara memakai IonIcons di React?
Instal @iconify/react dan render <Icon icon="ion:code-download-sharp" />, atau buka ikon mana pun di halaman ini lalu salin sebagai komponen React mandiri.
Berapa ukuran IonIcons?
IonIcons dirancang di grid 32 px. Karena berformat SVG, ikon ini bisa diskalakan ke ukuran apa pun tanpa kehilangan kualitas.