Skip to content

Blade UI Kit Icons

tanthammar edited this page Nov 13, 2020 · 1 revision

1. Install BladeUI icons

php artisan config:clear
composer require blade-ui-kit/blade-icons
php artisan vendor:publish --tag=blade-icons

2. Set class in config

By default svg icons looks really bad, this package provides an svg-icon class (in the theme css), to style them properly. Add the svg-icon class to config/blade-icons.php and uncomment the default icon set in config/blade-icons.php

This is how my config/blade-icons.php looks like:

<?php
 return [
     'sets' => [
          'default' => [
              'path' => 'resources/svg',
              'prefix' => 'icon',
              'class' => '',
          ],
     ],
     'class' => 'svg-icon',
 ];
Clone this wiki locally