PHPackages                             bhazk/icon - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Templating &amp; Views](/categories/templating)
4. /
5. bhazk/icon

ActiveLibrary[Templating &amp; Views](/categories/templating)

bhazk/icon
==========

Package untuk menampilkan ikon Heroicons dengan Blade Component

v1.0.0(1y ago)02MITPHPPHP ^8.0

Since Mar 6Pushed 1y ago1 watchersCompare

[ Source](https://github.com/adiartawibawa/bhazk-icon)[ Packagist](https://packagist.org/packages/bhazk/icon)[ RSS](/packages/bhazk-icon/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

Bhazk Icon
==========

[](#bhazk-icon)

**Bhazk Icon** adalah package Laravel untuk menampilkan ikon dengan Blade Component. Secara default, package ini menggunakan **Heroicons**, namun Anda dapat menambahkan set ikon kustom sesuai kebutuhan.

📌 Instalasi
-----------

[](#-instalasi)

Jalankan perintah berikut untuk menginstal package ini:

```
composer require bhazk/icon
```

🔧 Konfigurasi
-------------

[](#-konfigurasi)

Publikasikan file konfigurasi dengan perintah:

```
php artisan vendor:publish --tag=bhazk-icon
```

Setelah itu, file `config/bhazk-icon.php` akan tersedia untuk dikustomisasi.

Secara default, set ikon yang digunakan adalah `heroicons`, dan gaya ikon `outline`. Anda bisa mengubahnya di file konfigurasi:

```
return [
    'default_set' => 'heroicons',
    'default_style' => 'outline',
    'default_color' => 'currentColor',
    'default_size' => 'w-5 h-5',
    'resource_path' => resource_path('icons'),
];
```

🚀 Penggunaan
------------

[](#-penggunaan)

Gunakan komponen Blade berikut untuk menampilkan ikon:

```

```

### **Opsi Tambahan**

[](#opsi-tambahan)

```

```

AtributDeskripsi`name`Nama ikon yang akan ditampilkan`style`Gaya ikon (`outline` atau `solid`)`size`Kelas Tailwind untuk ukuran ikon`color`Warna ikon (misal: `red-500`, `blue-600`, dll.)🎨 Menggunakan Set Ikon Kustom
-----------------------------

[](#-menggunakan-set-ikon-kustom)

Untuk menggunakan ikon dari set berbeda, Anda bisa meletakkan ikon SVG di folder:

```
resources/icons/{set}/{style}/

```

Misalnya, untuk menambahkan ikon `custom-icon.svg` dengan set `myicons` dan gaya `solid`, letakkan file di:

```
resources/icons/myicons/solid/custom-icon.svg

```

Lalu gunakan:

```

```

📜 Daftar Ikon Heroicons
-----------------------

[](#-daftar-ikon-heroicons)

Heroicons menyediakan berbagai ikon yang dapat digunakan. Beberapa contohnya:

- `academic-cap`
- `adjustments`
- `annotation`
- `archive`
- `arrow-circle-down`
- `arrow-circle-up`
- `bell`
- `bookmark`
- `chart-bar`
- `check`
- `chevron-down`
- `chevron-left`
- `chevron-right`
- `chevron-up`

Daftar lengkap dapat ditemukan di [Heroicons Official](https://heroicons.com/).

Lisensi
-------

[](#lisensi)

Paket ini bersifat open-source dan dilisensikan di bawah lisensi MIT.

Pemecahan Masalah
-----------------

[](#pemecahan-masalah)

Jika Anda mengalami masalah, pastikan Anda telah menyiapkan konfigurasi yang diperlukan dalam berkas konfigurasi `bhazk-icon.php`. Periksa juga batasan API atau kesalahan dari Google Translate.

Kontribusi
----------

[](#kontribusi)

Kontribusi diterima! Silakan buat masalah atau kirimkan permintaan tarik untuk bug atau permintaan fitur apa pun.

Kontak
------

[](#kontak)

Untuk pertanyaan atau permintaan apa pun, silakan hubungi Adi Arta Wibawa di .

---

**Bhazk Icon** is a Laravel package for displaying icons using Blade Components. By default, it uses **Heroicons**, but you can add custom icon sets as needed.

📌 Installation
--------------

[](#-installation)

Run the following command to install the package:

```
composer require bhazk/icon
```

🔧 Configuration
---------------

[](#-configuration)

Publish the configuration file with:

```
php artisan vendor:publish --tag=bhazk-icon
```

After that, the `config/bhazk-icon.php` file will be available for customization.

By default, the icon set used is `heroicons`, and the default style is `outline`. You can change it in the config file:

```
return [
    'default_set' => 'heroicons',
    'default_style' => 'outline',
    'default_color' => 'currentColor',
    'default_size' => 'w-5 h-5',
    'resource_path' => resource_path('icons'),
];
```

🚀 Usage
-------

[](#-usage)

Use the following Blade component to display an icon:

```

```

### **Additional Options**

[](#additional-options)

```

```

AttributeDescription`name`The name of the icon to display`style`Icon style (`outline` or `solid`)`size`Tailwind class for icon size`color`Icon color (e.g., `red-500`, `blue-600`, etc.)🎨 Using Custom Icon Sets
------------------------

[](#-using-custom-icon-sets)

To use icons from a different set, place your SVG icons in the following folder:

```
resources/icons/{set}/{style}/

```

For example, to add a `custom-icon.svg` with the `myicons` set and `solid` style, place the file in:

```
resources/icons/myicons/solid/custom-icon.svg

```

Then use:

```

```

📜 Heroicons Icon List
---------------------

[](#-heroicons-icon-list)

Heroicons provides various icons that can be used. Some examples:

- `academic-cap`
- `adjustments`
- `annotation`
- `archive`
- `arrow-circle-down`
- `arrow-circle-up`
- `bell`
- `bookmark`
- `chart-bar`
- `check`
- `chevron-down`
- `chevron-left`
- `chevron-right`
- `chevron-up`

The full list can be found at [Heroicons Official](https://heroicons.com/).

License
-------

[](#license)

This package is open-source and licensed under the MIT license.

Troubleshooting
---------------

[](#troubleshooting)

If you encounter any issues, ensure you have the necessary configurations set up in the `bhazk-icon.php` configuration file. Check for any API limitations or errors from Google Translate as well.

Contributing
------------

[](#contributing)

Contributions are welcome! Please open an issue or submit a pull request for any bugs or feature requests.

Contact
-------

[](#contact)

For any questions or inquiries, please contact Adi Arta Wibawa at .

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance44

Moderate activity, may be stable

Popularity2

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity42

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

438d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/d9e07b3ac99e700a70bbac7ff126e146f15399152059894365abaaa1cd3cf76a?d=identicon)[adiartawibawa](/maintainers/adiartawibawa)

---

Top Contributors

[![adiartawibawa](https://avatars.githubusercontent.com/u/75978314?v=4)](https://github.com/adiartawibawa "adiartawibawa (1 commits)")

---

Tags

laravelbladeHeroiconscomponent

### Embed Badge

![Health badge](/badges/bhazk-icon/health.svg)

```
[![Health](https://phpackages.com/badges/bhazk-icon/health.svg)](https://phpackages.com/packages/bhazk-icon)
```

###  Alternatives

[blade-ui-kit/blade-heroicons

A package to easily make use of Heroicons in your Laravel Blade views.

64227.9M111](/packages/blade-ui-kit-blade-heroicons)[technikermathe/blade-lucide-icons

A package to easily make use of Lucide icons in your Laravel Blade views.

18299.2k7](/packages/technikermathe-blade-lucide-icons)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
