Color

You're browsing the documentation for an old version of MoonShine. Consider upgrading your project to MoonShine 2.x.

Extends Text * has the same features

Everything is the same as "Text field", the only difference is input type = color

use MoonShine\Fields\Color;
 
//...
public function fields(): array
{
return [
Color::make('Color')
];
}
 
//...