Skip to content
On this page

Codicons

Installation

INFO

This package requires PHP 8.2 or later, and it supports Laravel 10 or later.

To get the latest version, simply require the project using Composer:

bash
$ composer require faustbrian/blade-icons-codicons

Usage

INFO

The prefix for all icon families in this package is codicons. Please refer to the resources/svg directory for a list of available styles and icons.

View Component

blade
<x-codicons:{{ style }}-{{ icon }} />

Dynamic Component

blade
<x-dynamic-component component="codicons:{{ $style }}-{{ $icon }}" />