rockero-cz/filament-simple-color-picker
最新稳定版本:1.0.3
Composer 安装命令:
composer require rockero-cz/filament-simple-color-picker
包简介
Simple color picker form field for FilamentPHP admin panel.
README 文档
README
Filament Simple Color Picker
Installation
Install the package via composer:
composer require rockero-cz/filament-simple-color-picker
Features
Filament form input allows you to predefine a color palette for users, with the possibility to set the number of colors per row.
Usage
use Rockero\FilamentSimpleColorPicker\SimpleColorPicker; SimpleColorPicker::make('color') ->colors([ '#0ea5e9', // blue light '#0094ff', // blue middle '#0000ff', // blue dark '#FFD700', // Gold '#FFC300', // yellow '#ff9200', // orange '#36d943', // green light '#26B131', // green middle '#209b2a', // green dark '#ff00ff', // pink '#cc00ff', // purple '#ff0000', // red '#dddddd', // gray light '#9a9a9a', // gray middle '#565656', // gray dark '#8D1E4D', // wine '#581845', // dark purple '#000000', // black ]) ->colorColumns(6),
Changelog
Please see CHANGELOG for more information on what has changed recently.
Credits
License
The MIT License (MIT). Please see License File for more information.
统计信息
- 总下载量: 188
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-07-27


