Widget for bootstrap-iconpicker plugin

Installs: 7 383

Dependents: 2

Suggesters: 0

Security: 0

Stars: 8

Watchers: 3

Forks: 8

Open Issues: 1


3.0.0 2017-06-27 17:27 UTC

This package is auto-updated.

Last update: 2021-01-17 18:43:20 UTC


Latest Stable Version Total Downloads License

Widget for bootstrap-iconpicker plugin

Now based on more actual fork

FontAwesome 4.7.0 support


The preferred way to install this extension is through composer.

Either run

composer require --prefer-dist insolita/yii2-iconpicker "^3.0"

or add

"insolita/yii2-iconpicker": "^3.0"

to the require section of your composer.json file.


This extension require twitter-bootstrap >3.0 You can use it for

By default - native bootstrap glyphicon


This extension not provide assets for icon source - you can setup and register it`s in view separately You can create needed assets, or direct include css of icon fonts from folder @bower/eliberty-bootstrap-iconpicker/icon-fonts


Once the extension is installed, simply use it in your code by :

<?= $form->field($model, 'icon')->widget('\insolita\iconpicker\Iconpicker',
 ])->label('Choose icon'); ?>

or without ActiveForm

   echo \insolita\iconpicker\Iconpicker::widget([
       'pickerOptions'=>['class'=>'btn btn-primary'],