schmeits/filament-4-phosphor-icons
最新稳定版本:1.0.6
Composer 安装命令:
composer require schmeits/filament-4-phosphor-icons
包简介
This is my package filament-4-phosphor-icons
README 文档
README
This is a custom icon pack to be used in Filament v4. You can use it to add Phosphor icons everywhere :)
Installation
You can install the package via composer:
composer require schmeits/filament-4-phosphor-icons
Usage
Forms\Components\TextInput::make('name') ->required() ->prefixIcon(Phosphor::Smiley)
Check out the Phosphor icons on their website Phosphor Icons to find the icon you want to use.gh
Weights
The package comes with the following weights you can use:
enum PhosphorWeight: string { case Thin = 'thin'; case Light = 'light'; case Regular = 'regular'; case Bold = 'bold'; case Fill = 'fill'; case Duotone = 'duotone'; }
You can use the weights in the same way as the icons:
->prefixIcon(Phosphor::Smiley->getIconForWeight(PhosphorWeight::Duotone))
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Credits
License
The MIT License (MIT). Please see License File for more information.
统计信息
- 总下载量: 1.86k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 17
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-05-12