PHPackages                             2zt/blade-cssgg - 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. 2zt/blade-cssgg

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

2zt/blade-cssgg
===============

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

1.0.1(4y ago)111MITPHPPHP ^7.4|^8.0

Since Sep 29Pushed 4y ago1 watchersCompare

[ Source](https://github.com/2zt/blade-cssgg)[ Packagist](https://packagist.org/packages/2zt/blade-cssgg)[ Docs](https://github.com/2zt/blade-cssgg)[ RSS](/packages/2zt-blade-cssgg/feed)WikiDiscussions main Synced today

READMEChangelog (2)Dependencies (4)Versions (3)Used By (0)

 [![](https://github.com/2zt/blade-cssgg/raw/main/socialcard-blade-cssgg.jpg "Social Card Blade UI Kit")](https://github.com/2zt/blade-cssgg/blob/main/socialcard-blade-cssgg.jpg)

Blade css.gg Icons
==================

[](#blade-cssgg-icons)

[ ![Tests](https://github.com/2zt/blade-cssgg/actions/workflows/tests.yml/badge.svg)](https://github.com/2zt/blade-cssgg/actions/workflows/tests.yml)[ ![GitHub license](https://camo.githubusercontent.com/2ab6221cf5c8424826de30e04d2874c7eb8ae5c1aacec8fec6d6a54638282a52/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f327a742f626c6164652d6373736767)](https://github.com/2zt/blade-cssgg/blob/main/LICENSE.md)[ ![Latest Stable Version](https://camo.githubusercontent.com/d51ac525e5a9a3f082e791f10ff25113a4e87953e3b3ab12d48d058598aac3bd/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f327a742f626c6164652d6373736767)](https://packagist.org/packages/2zt/blade-cssgg)[ ![Total Downloads](https://camo.githubusercontent.com/cf4cc5e8ad8e49f96d9340dfaa7d3c336455adb990bcb6cdb3839672f4d70ad1/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f327a742f626c6164652d6373736767)](https://packagist.org/packages/2zt/blade-cssgg)[ ![Twitter](https://camo.githubusercontent.com/0bb3cffee522da67067ee4d441205d3872b2815937b35c9f0a6586d93f987312/68747470733a2f2f696d672e736869656c64732e696f2f747769747465722f75726c3f7374796c653d736f6369616c2675726c3d68747470732533412532462532466769746875622e636f6d253246327a74253246626c6164652d6373736767)](https://twitter.com/intent/tweet?text=Wow:&url=https%3A%2F%2Fgithub.com%2F2zt%2Fblade-cssgg)A package to easily make use of [css.gg](https://github.com/astrit/css.gg) in your Laravel Blade views.

If you don't know [css.gg](https://github.com/astrit/css.gg), it is a set of 700+ Pure CSS, SVG &amp; Figma UI Icons Available in SVG Sprite, styled-components, NPM &amp; API. For a complete list of the 700+ available icons included in this package, see [the SVG directory](resources/svg) or preview them at [css.gg](https://css.gg).

Requirements
------------

[](#requirements)

- PHP 7.4 or higher
- Laravel 8.0 or higher

Installation
------------

[](#installation)

```
composer require 2zt/blade-cssgg
```

Updating
--------

[](#updating)

Please refer to [`the upgrade guide`](UPGRADE.md) when updating the library.

Blade Icons
-----------

[](#blade-icons)

Blade css.gg uses Blade Icons under the hood. Please refer to [the Blade Icons readme](https://github.com/blade-ui-kit/blade-icons) for additional functionality. We also recommend to [enable icon caching](https://github.com/blade-ui-kit/blade-icons#caching) with this library.

Configuration
-------------

[](#configuration)

Blade css.gg also offers the ability to use features from Blade Icons like default classes, default attributes, etc. If you'd like to configure these, publish the `blade-cssgg.php` config file:

```
php artisan vendor:publish --tag=blade-cssgg-config
```

Usage
-----

[](#usage)

Icons can be used as self-closing Blade components which will be compiled to SVG icons:

```

```

You can also pass classes to your icon components:

```

```

And even use inline styles:

```

```

### Raw SVG Icons

[](#raw-svg-icons)

If you want to use the raw SVG icons as assets, you can publish them using:

```
php artisan vendor:publish --tag=blade-cssgg --force
```

Then use them in your views like:

```

```

Changelog
---------

[](#changelog)

Check out the [CHANGELOG](CHANGELOG.md) in this repository for all the recent changes.

Maintainers
-----------

[](#maintainers)

Blade css.gg is developed and maintained by [2zt](https://github.com/2zt).

Credit
------

[](#credit)

css.gg is originally made by [Astrit Malsia](https://github.com/astrit/css.gg).

Support the author of css.gg :

DonateLinkGithub SponsorOpen CollectivePayPalLicense
-------

[](#license)

Blade css.gg is open-sourced software licensed under [the MIT license](LICENSE.md).

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity56

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

Every ~0 days

Total

2

Last Release

1683d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3bdf381fd8d6075db3c65b6f1c88677fd0f4801335fab07c239f6c29c040bdcb?d=identicon)[2zt](/maintainers/2zt)

---

Top Contributors

[![2zt](https://avatars.githubusercontent.com/u/91601257?v=4)](https://github.com/2zt "2zt (5 commits)")

---

Tags

bladecomponentcssggiconslaravelsvg-iconslaraveliconsbladeCss.gg

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/2zt-blade-cssgg/health.svg)

```
[![Health](https://phpackages.com/badges/2zt-blade-cssgg/health.svg)](https://phpackages.com/packages/2zt-blade-cssgg)
```

###  Alternatives

[codeat3/blade-google-material-design-icons

A package to easily make use of "Google Fonts Material Icons" in your Laravel Blade views.

23494.4k4](/packages/codeat3-blade-google-material-design-icons)[stijnvanouplines/blade-country-flags

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

26307.2k6](/packages/stijnvanouplines-blade-country-flags)[saade/blade-iconsax

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

21138.5k](/packages/saade-blade-iconsax)

PHPackages © 2026

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