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
Advanced Tables (formerly Filter Sets)
Supercharge your tables with powerful features like user-customizable views, quick filters, multi-column sorting, advanced table searching, convenient view management, and more. Compatible with Resource Panel Tables, Relation Managers, Table Widgets, and Table Builder!
Kenneth Sese
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