Fields

Color

Extends Text

  • has the same features

The Color field is an extension of Text, which provides a convenient way to enter colors.

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

Color

Color