Bootstrap Icons
bi · 2.078 ikon · karya The Bootstrap Authors · MIT · satu warna · grid 16 px · Diperbarui
Bootstrap Icons adalah set ikon gratis dan open source dengan 2.078 ikon SVG karya The Bootstrap Authors, dirilis di bawah lisensi MIT. Ikonnya satu warna: mengikuti warna teks Anda (currentColor) dan warnanya bisa diubah dengan CSS. Ikon ini dirancang di grid 16 px dan tetap tajam saat diskalakan sebagai SVG.
Spesifikasi desain Bootstrap Icons
- terisi
- monokrom
Aturan gambar set ini, diukur dari file SVG-nya. Gunakan untuk merancang ikon baru yang serasi dengannya.
| Kanvas | 24 × 24 |
|---|---|
| viewBox | 0 0 24 24 |
| Area gambar | Seluruh kanvas, tanpa padding |
| Gaya gambar | Bentuk terisi |
| Radius sudut | 0.5 |
| Warna | Satu warna (currentColor), bisa diubah dengan CSS |
| Koordinat | Hingga 3 angka desimal |
| Garis lurus | 77% horizontal atau vertikal, 12% bersudut 45° |
| Kurva | 52% dari perintah gambar |
| Simetri | 26% ikon simetris kiri-kanan |
| Elemen per ikon | 1.7 |
| Perintah gambar per ikon | 31 |
Diukur dari 62 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 Bootstrap Icons by The Bootstrap Authors, licensed under MIT. https://github.com/twbs/icons/blob/main/LICENSE.md
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 "Bootstrap Icons" icon set (Iconify prefix "bi") by The Bootstrap Authors.
Style: filled, solid, monochrome.
Iconify describes the set as: Precise Shapes.
Canvas
- Root: <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">.
- Draw edge to edge: icons use the full canvas with no padding.
- A typical icon's bounding box covers 38% of the canvas.
Drawing
- Filled icons: draw closed filled shapes; don't use strokes.
- Wrap the shapes in <g fill="currentColor">, as 53% of the set does.
- Round corners with a radius of about 0.5.
Geometry
- Coordinates are free-form; write at most 3 decimals.
- Straight lines: 77% horizontal or vertical, 12% at 45 degrees.
- About 52% of drawing commands are curves or arcs.
- Keep it simple: about 2 elements and 31 drawing commands per icon.
- Elements used by the set: path, g.
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 Bootstrap Icons
Bootstrap Icons yang populer antara lain graph up, card image, code slash, egg fill, brilliance dan toggle on.
Buka ikon mana pun untuk menyalinnya sebagai SVG, JSX, Vue, Svelte, Solid, Astro, atau CSS, atau download sebagai SVG atau PNG. Bootstrap Icons dirilis di bawah lisensi MIT, yang mengizinkan penggunaan dalam proyek pribadi maupun komersial.
Cara memakai Bootstrap Icons
Setiap ikon di halaman ini bisa dipakai di framework apa pun. Contoh menggunakan bi:graph-up; 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="bi:graph-up" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="bi:graph-up" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="bi:graph-up" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[bi--graph-up]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/bi -->
<div class="i-bi:graph-up"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="bi:graph-up"></iconify-icon>Gambar HTML
<img src="https://iconyz.com/api/public/svg/bi/graph-up.svg" alt="Ikon Graph Up" width="24" height="24">FAQ Bootstrap Icons
Apakah Bootstrap Icons gratis untuk penggunaan komersial?
Ya. Bootstrap Icons dirilis di bawah lisensi MIT, yang mengizinkan penggunaan dalam proyek pribadi maupun komersial.
Berapa jumlah ikon di Bootstrap Icons?
Bootstrap Icons berisi 2.078 ikon.
Apa lisensi Bootstrap Icons?
Bootstrap Icons dilisensikan di bawah MIT. Teks lengkap lisensi tersedia di https://github.com/twbs/icons/blob/main/LICENSE.md.
Siapa pembuat Bootstrap Icons?
Bootstrap Icons dibuat oleh The Bootstrap Authors.
Bagaimana cara memakai Bootstrap Icons di React?
Instal @iconify/react dan render <Icon icon="bi:graph-up" />, atau buka ikon mana pun di halaman ini lalu salin sebagai komponen React mandiri.
Berapa ukuran Bootstrap Icons?
Bootstrap Icons dirancang di grid 16 px. Karena berformat SVG, ikon ini bisa diskalakan ke ukuran apa pun tanpa kehilangan kualitas.