Download the PHP package isaacdagel/blade-bootstrap-icons without Composer
On this page you can find all versions of the php package isaacdagel/blade-bootstrap-icons. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download isaacdagel/blade-bootstrap-icons
More information about isaacdagel/blade-bootstrap-icons
Files in isaacdagel/blade-bootstrap-icons
Package blade-bootstrap-icons
Short Description A package to easily integrate Bootstrap SVG icons into your Laravel project.
License MIT
Homepage https://github.com/isaacdagel/blade-bootstrap-icons
Informations about the package blade-bootstrap-icons
Blade Bootstrap Icons
A package to easily integrate Bootstrap SVG icons into your Laravel project.
Requirements
This package is designed to work with Laravel 7.0 or higher.
Installation
The package can be installed via Composer:
Usage
For a list of all available icons and their names, refer to this page.
Insert an icon anywhere into a blade template by calling the appropriate component. The component name format is 'x-boostrap-icon-[hyphenated icon name]'. For example:
You can specify custom classes on top of the default 'bi' and 'bi-[hyphenated icon name]' classes:
You can add inline styles:
You can specify the height and width (the default for both is 1em):
You can set the viewBox property (the default is '0 0 16 16'):
You can also set the fill property (the default is 'currentColor'):
Changelog
Please see CHANGELOG for more information what has changed recently.
Credits
Bootstrap Icons are created and maintained by the Bootstrap team.
License
This package is released under the MIT License. Please see License File for more information.