Sketchpad
A simple package that provides you with a sketchpad field.
Author:
Valentin Morice
Documentation
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
From the same author
Featured Plugins
A selection of plugins curated by the Filament team
Custom Dashboards
Let your users build and share their own dashboards with a drag-and-drop interface. Define your data sources in PHP and let them do the rest.
Filament
Data Lens
Advanced Data Visualization for Laravel Filament - a premium reporting solution enabling custom column creation, sophisticated filtering, and enterprise-grade data insights within admin panels.
Padmission
Spotlight Pro
Browse your Filament Panel with ease. Filament Spotlight Pro adds a Spotlight/Raycast like Command Palette to your Filament Panel.
Dennis Koch