All Projects → driesvints → Blade Icons

driesvints / Blade Icons

Licence: mit
A package to easily make use of SVG icons in your Laravel Blade views.

Labels

Projects that are alternatives of or similar to Blade Icons

Media Manager
Provides a web interface to manage local files
Stars: ✭ 94 (-56.28%)
Mutual labels:  blade
Base
YASCMF 基础开发版(YASCMF/BASE)
Stars: ✭ 162 (-24.65%)
Mutual labels:  blade
Adminlte Templates
AdminLTE V3 templates for InfyOm Laravel Generator
Stars: ✭ 189 (-12.09%)
Mutual labels:  blade
Use The Keyboard
A collection of keyboard shortcuts for Mac apps, Windows programs, and websites.
Stars: ✭ 109 (-49.3%)
Mutual labels:  blade
Laravel Sent Emails
Store outgoing emails in Laravel
Stars: ✭ 142 (-33.95%)
Mutual labels:  blade
Sage Directives
A set of Blade directives for use with Roots Sage.
Stars: ✭ 175 (-18.6%)
Mutual labels:  blade
Laravel Blade Snippets Vscode
Laravel blade snippets and syntax highlight support for Visual Studio Code
Stars: ✭ 80 (-62.79%)
Mutual labels:  blade
Shopper
An eCommerce administration built with Laravel 5 for create online shop.
Stars: ✭ 205 (-4.65%)
Mutual labels:  blade
Sage
WordPress starter theme with a modern development workflow
Stars: ✭ 11,531 (+5263.26%)
Mutual labels:  blade
Laravel Bootstrap Components
Bootstrap components as Laravel components
Stars: ✭ 190 (-11.63%)
Mutual labels:  blade
Livewire
A full-stack framework for Laravel that takes the pain out of building dynamic UIs.
Stars: ✭ 13,980 (+6402.33%)
Mutual labels:  blade
Jigsaw
Simple static sites with Laravel’s Blade.
Stars: ✭ 1,823 (+747.91%)
Mutual labels:  blade
Blade Heroicons
A package to easily make use of Heroicons in your Laravel Blade views.
Stars: ✭ 173 (-19.53%)
Mutual labels:  blade
Laravel Ui Adminlte
Laravel UI Frontend Preset for AdminLTE with Laravel Fortify support.
Stars: ✭ 98 (-54.42%)
Mutual labels:  blade
Fortify Ui
Laravel Fortify driven replacement to the Laravel UI package
Stars: ✭ 192 (-10.7%)
Mutual labels:  blade
Tall Dashboard
Tailwind CSS + AlpineJS + Laravel + Livewire dashboard (WIP)
Stars: ✭ 83 (-61.4%)
Mutual labels:  blade
Docs
Livewire documentation
Stars: ✭ 170 (-20.93%)
Mutual labels:  blade
Dashboard
🛩 🧶 Dashboard template built with tailwindcss.
Stars: ✭ 202 (-6.05%)
Mutual labels:  blade
Blogetc
Easily add a full Laravel blog (with built in admin panel and public views) to your laravel project with this simple package.
Stars: ✭ 198 (-7.91%)
Mutual labels:  blade
Laravel Markdown
A small, lightweight and easy-to-use Laravel package for handling markdown.
Stars: ✭ 185 (-13.95%)
Mutual labels:  blade

Blade Icons (abandoned)

Build Status Total Downloads Latest Stable Version License

Abandoned! This project has been moved to the Blade UI Kit organisation. Check out the new repository. Heroicons and Zondicons have been extracted into new separate packages here and here. Please read the upgrade guides on the aforementioned packages to upgrade to the newer versions.

A package to easily make use of SVG icons in your Laravel Blade views.

Heroicons and Zondicons originally made by Steve Schoger and Adam Wathan.

List of icons

Requirements

  • PHP 7.4 or higher
  • Laravel 7.0 or higher

Installation

composer require driesvints/blade-icons

Updating

General steps for every update:

  • Run php artisan view:clear
  • If you published the raw icons run php artisan vendor:publish --tag=blade-icons --force

When upgrading to a new major version of the library, remember to read the upgrade guide.

Usage

Icons can be used a self-closing Blade components which will be compiled to SVG icons:

<x-heroicon-o-adjustments/>

You can also pass classes to your icon components:

<x-heroicon-o-adjustments class="w-6 h-6 text-gray-500"/>

And even use inline styles:

<x-heroicon-o-adjustments style="color: #555"/>

The solid icons can be referenced like this:

<x-heroicon-s-adjustments/>

Zondicon icons can be referenced like:

<x-zondicon-add-outline/>

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-icons --force

Then use them in your views like:

<img src="{{ asset('vendor/blade-icons/heroicons/heroicon-o-adjustments.svg') }}" width="10" height="10"/>

And use zondicons like:

<img src="{{ asset('vendor/blade-icons/zondicons/zondicon-add-outline.svg') }}" width="10" height="10"/>

Changelog

Check out the CHANGELOG in this repository for all the recent changes.

License

Blade Icons is open-sourced software licensed under the MIT license.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].