| Package Data | |
|---|---|
| Maintainer Username: | timothyasp |
| Package Create Date: | 2018-08-23 |
| Package Last Update: | 2023-07-05 |
| Language: | Vue |
| License: | MIT |
| Last Refreshed: | 2025-10-26 03:11:25 |
| Package Statistics | |
|---|---|
| Total Downloads: | 1,508,100 |
| Monthly Downloads: | 14,749 |
| Daily Downloads: | 75 |
| Total Stars: | 78 |
| Total Watchers: | 2 |
| Total Forks: | 21 |
| Total Open Issues: | 4 |
Dead simple Laravel Nova Color field. Includes a color picker from the vue-color component.
You can install the package in to a Laravel app that uses Nova via composer:
composer require timothyasp/nova-color-field
In your resource class, add the following to your fields method:
use Timothyasp\Color\Color;
....
Color::make("Field");
This will add the color picker to your resource, using vue-color's "slider" component by default.
If you'd like to leverage another vue-color component, you can do so by calling that component's
name as a method after Color::make():
use Timothyasp\Color\Color;
....
Color::make('Field')->compact()
// or
Color::make('Field')->slider()
and so on. You can use any one of: chrome, compact, grayscale, material, photoshop, sketch, slider, swatches
Built for QuizGriz - the #1 online trivia and quiz game site
The MIT License (MIT). Please see License File for more information.