mylistryx / yii2-materialdesign-icons
Yii2 MaterialDesign icons asset bundle
Installs: 2
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
Type:yii2-extension
pkg:composer/mylistryx/yii2-materialdesign-icons
Requires
- php: >=8.0
- yiisoft/yii2: ~2.0.0
This package is auto-updated.
Last update: 2026-01-14 20:09:07 UTC
README
Installation
The preferred way to install this extension is through composer
Either run:
composer require mylistryx/yii2-material-icons or add "mylistryx/yii2-material-icons": "*" into your composer.json file.
Then register assets in your view file:
FontAwesomeAsset::register($this) OR FontAwesomeCdnAsset::register($this) to use CDN files.
and use:
<?= MDI::i('material-ui') ?>
... and so on. Full list of icons can be found at https://pictogrammers.github.io/@mdi/font/7.4.47/
Some transformation are represented:
<?= MDI::i('material-ui')->flipV() ?>
<?= MDI::i('material-ui')->flipH() ?>
<?= MDI::s('material-ui')->spin() ?>
<?= MDI::s('material-ui')->color('light')->inverse(true) ?>
<?= MDI::s('material-ui')->colorLight()->inverse() ?>
<?= MDI::s('material-ui')->rotate(90) ?>
<?= MDI::s('material-ui')->rotate90() ?>
see source files for more.
Note: We do not include the ability to use ...->flip*() and ...->rotate*() at the same time.