Sketchpad plugin screenshot
Dark mode ready
Multilingual support
Supports v5.x

Sketchpad

Community

A simple package that provides you with a sketchpad field.

Tags: Forms Form Field
Supported versions:
5.x
Third-party plugin. This is built by the community, not the Filament team. Filament does not review, endorse, or vet the security of plugins outside the filament/ namespace. Review the source and install at your own risk. Found malware or an unresolved security issue the author won't address? Report it .
Valentin Morice avatar Author: Valentin Morice

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.

The author

Valentin Morice avatar Author: Valentin Morice

I'm a self-taught developer from France. Currently working for AnchorLess.

Plugins
2
Stars
47

From the same author