samlev / tallboicons
Basic bladeicon package for use with tallboy
Requires
- php: ^8.2
- blade-ui-kit/blade-icons: ^1.6
- illuminate/support: ^10.0|^11.0
Requires (Dev)
- larastan/larastan: ^2.0
- laravel/pint: ^1.0
- orchestra/testbench: ^8.0|^9.0
- pestphp/pest: ^2.0
- squizlabs/php_codesniffer: ^3.0
This package is auto-updated.
Last update: 2024-11-09 14:21:49 UTC
README
Basic Bladeicon wrapper package to allow access to Tallboy icons.
For a full list of available icons see the SVG directory.
The icons in this package are a very small set of icons for use as default icons for the Tallboy package. There is almost no reason that you would need (or want) to use this package outside of that context. In fact there's a very good chance that you don't want to use these icons within that context.
They are not very good icons.
Installation
composer require samlev/tallboicons
Usage
Icons can be used as a self-closing Blade component or with the @svg()
helper, which will rendered an inline SVG:
<x-tallboicon-alert /> @svg('tallboicon-edit')
View the blade icons usage documentation for more information.
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-tallboicons --force
Contributing
There is almost no chance that you will need to contribute to this package, but if you do, please feel free to open a PR. Please don't request additional icons unless it is in aid of adding a component to the Tallboy package. Even then, please evaluate if this package actually needs a new icon or not.
Testing
You can test any modifications to this package with:
composer test
You can attempt to automatically fix any linting errors with:
composer lint:fix