mylistryx/yii2-materialdesign-icons
最新稳定版本:7.4.47
Composer 安装命令:
composer require mylistryx/yii2-materialdesign-icons
包简介
Yii2 MaterialDesign icons asset bundle
README 文档
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:
MaterialDesignIconsAsset::register($this)
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.
统计信息
- 总下载量: 10
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-01-14