New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

timothyasp/nova-color-field

A Laravel Nova Color Picker field.
1,906,248 76

Larablocks Analysis

timothyasp/nova-color-field works with any PHP project: the latest release (v2.0.2, Jul 5, 2023) doesn't depend on Laravel.

Recommendation checks

Not advised

Not advised: no release or commit in over 2 years.

  • No release or commit in over 2 years
  • No release in the last 12 months (last: Jul 5, 2023)
  • 35,160 downloads a month (at least 10,000)
  • 76 GitHub stars (needs 100)

State

Likely abandoned
  • No release or commit in over 2 years.
  • Last stable release: Jul 5, 2023.
  • No releases in the last 12 months.
  • First released: Aug 25, 2018.
  • Monthly downloads: 35,160, about the same as six months ago.
  • 4 open issues on GitHub.

Data from Packagist and GitHub, checked by Larablocks on Dec 4, 2026.

Install
composer require timothyasp/nova-color-field
Latest Version:v2.0.2
PHP:>=7.1.0
License:MIT
Last Updated:Jul 5, 2023
Links: GitHub  ·  Packagist
Maintainer: timothyasp

Laravel Nova Color Field

Now works with Laravel Nova v4!


If you still are using Nova v1-v3, use v1.0.4 of this field.

Dead simple Laravel Nova Color field. Includes a color picker from the vue-color component.

Details Page

details page color input

Index

index color

Installation

You can install the package in to a Laravel app that uses Nova via composer:

composer require timothyasp/nova-color-field

Usage

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, twitter.

Palette support for adding custom colors to some of the pickers is also available:

Color::make('Field')->compact()->palette(['#beaf00', '#DEADAF', '#000']);

Credits

Built for QuizGriz - the #1 online trivia and quiz game site

License

The MIT License (MIT). Please see License File for more information.

Alternatives to timothyasp/nova-color-field

whitecube/nova-flexible-content

Flexible Content & Repeater Fields for Laravel Nova.

3,859,601 799
alexwenzel/nova-dependency-container

A Laravel Nova 4 form container for grouping fields that depend on other field v...

1,468,105 46
inspheric/nova-url-field

A Laravel Nova URL field.

1,392,356 102
simplesquid/nova-enum-field

A Laravel Nova field to add enums to resources.

467,612 52
dniccum/phone-number

A Laravel Nova phone number field with input masking and validation support.

512,024 70

Version History

Version Released PHP License
v2.0.2 >=7.1.0 MIT
v2.0.1 >=7.1.0 MIT
v2.0.0 >=7.1.0 MIT
1.0.4 >=7.1.0 MIT
1.0.3 >=7.1.0 MIT