palmiak/unicon-for-statamic
最新稳定版本:v0.4.1
Composer 安装命令:
composer require palmiak/unicon-for-statamic
包简介
README 文档
README
Unicon for Statamic
Unicon 🦄 is a package for Laravel that enables seamless, on-demand integration of over 200,000 icons from the Iconify API, with caching for optimized performance.
Huge thanks to Nicolas Hedger for creating the Unicon package.
What does this addon do?
It allows you to install Unicon inside of your Statamic projects and adds a tag unicon that will enable you to use Unicon inside of Antlers files.
How to Install
Just run the following command from your project root:
composer require palmiak/unicon-for-statamic
You can optionally publish the configuration file by running:
php artisan vendor:publish --tag=unicon-config
Check the configuration reference for more details.
How to Use
Antlers
Just use {{ unicon name='heroicons:clock' }} inside of any antlers file.
If you want to add some classes, you can do it by using {{ unicon name='heroicons:clock' class="some_class" }}.
Blade
Unicon provides blade support out of the box.
统计信息
- 总下载量: 68
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2024-11-21