https://github.com/uwaiscode/blade-bootstrap-icons
A package to easily make use of Bootstrap Icons
https://github.com/uwaiscode/blade-bootstrap-icons
blade-icons blade-ui-kit bootstrap bootstrap-icons icons
Last synced: 3 months ago
JSON representation
A package to easily make use of Bootstrap Icons
- Host: GitHub
- URL: https://github.com/uwaiscode/blade-bootstrap-icons
- Owner: uwaiscode
- Created: 2021-12-21T01:21:01.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-03-12T13:38:10.000Z (about 3 years ago)
- Last Synced: 2025-03-17T22:59:22.892Z (3 months ago)
- Topics: blade-icons, blade-ui-kit, bootstrap, bootstrap-icons, icons
- Language: PHP
- Homepage:
- Size: 455 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Blade Bootstrap Icons
A package to easily make use of [Bootstrap Icons](https://icons.getbootstrap.com/) in your Laravel Blade views.
For a full list of available icons see [the SVG directory](resources/svg) or preview them at [https://icons.getbootstrap.com](https://icons.getbootstrap.com/).
## Requirements
- PHP 7.4 or higher
- Laravel 8.0 or higher## Installation
```bash
composer require uwaiscode/blade-bootstrapicons
```## Configuration
Blade Bootstrap Icons 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-bootstrapicons.php` config file:
```bash
php artisan vendor:publish --tag=blade-bootstrapicons-config
```## Usage
Icons can be used as self-closing Blade components which will be compiled to SVG icons:
```blade
```
You can also pass classes to your icon components:
```blade
```
And even use inline styles:
```blade
```