Plugins
Sketchpad
A simple package that provides you with a sketchpad field.
Form Builder
Form Field
Dark theme support
Yes
Multi language support
No
Compatible with the latest version
Supported versions: 3.x
Documentation

Screenshot from 2024-08-24 15-37-49

A simple package that provides you with a sketchpad field in Filament

#Installation

You can install the package via composer:

composer require valentin-morice/filament-sketchpad

#Usage

The filament-sketchpad plugin works as any other Filament Form Builder class. Make sure the column on which it is called is cast to JSON.

public static function form(Form $form): Form
{
return $form
->schema([
FilamentSketchpad::make('example'),
]);
}

#Set the height

FilamentSketchpad::make('example')->height(int 400|Closure); // in px

NOTE: All standard injected utilities are available in your closure.

Thanks to http://yiom.github.io/sketchpad/ for the JS.

#License

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

Valentin Morice

I'm a self-taught web developer from France. Currently working as a vegetarian cook, and freelancing during my free time.

2
Plugins
64
Stars
More from this author
Featured Plugins