janczakb/blade-gravity-icons

Complete Gravity UI icon set for Laravel Blade and Filament (MIT, Yandex).

Maintainers

Package info

github.com/janczakb/blade-gravity-icons

pkg:composer/janczakb/blade-gravity-icons

Statistics

Installs: 2

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

v1.0.0 2026-06-12 01:47 UTC

This package is auto-updated.

Last update: 2026-06-12 01:51:55 UTC


README

The full Gravity UI icon set for Laravel Blade and Filament.

This package registers every SVG from the official gravity-ui/icons repository through blade-icons, using the gravityui- prefix expected by Filament and other Blade UI packages.

Features

  • Complete catalog — all Gravity UI icons in one package, kept in sync with upstream
  • Filament-ready — works with generate_icon_html(), actions, form fields, and tables
  • Blade component — use icons via <x-icon> or the @svg directive
  • PHP helper — build icon names from PascalCase or kebab-case identifiers
  • Auto-discovery — no manual service provider registration

Requirements

  • PHP 8.3+
  • Laravel 11, 12, or 13
  • blade-ui-kit/blade-icons ^1.8

Installation

composer require janczakb/blade-gravity-icons

Laravel discovers the service provider automatically. No extra setup is required.

Usage

Icons use the gravityui- prefix plus the kebab-case filename from the Gravity UI catalog.

Catalog name Icon string
EyeClosed gravityui-eye-closed
Magnifier gravityui-magnifier
arrow-chevron-down gravityui-arrow-chevron-down

Blade

<x-icon name="gravityui-eye-closed" class="w-5 h-5" />
@svg('gravityui-magnifier', 'w-4 h-4')

Filament

use Filament\Support\Enums\IconSize;

\Filament\Support\generate_icon_html('gravityui-magnifier', size: IconSize::Small);
use Filament\Actions\Action;

Action::make('search')
    ->icon('gravityui-magnifier');

PHP helper

use Bjanczak\BladeGravityIcons\GravityIcon;

GravityIcon::make('EyeClosed');           // gravityui-eye-closed
GravityIcon::make('arrow-chevron-down');  // gravityui-arrow-chevron-down

Configuration

Publish the config file only if you need to customize the default prefix or attributes:

php artisan vendor:publish --tag=blade-gravity-icons-config

Default prefix: gravityui (file eye.svggravityui-eye).

License

The package code is released under the MIT License.

Icon SVGs are © YANDEX LLC and distributed under the MIT License. See THIRD_PARTY_LICENSES.md.