Undraw Select by ZPMLabber
CommunityA Filament select component that lets you search & pick unDraw illustrations.
Author:
ZPMLabber
Package health
Automated checks of this plugin's Composer package
15 checks
- Skipped: GitHub Actions pinned to SHA
- Skipped: GitLab CI includes pinned to SHA
- Passed: Open security advisories
- Passed: Dependabot PR responsiveness — No open Dependabot PRs.
- Skipped: Renovate MR responsiveness
- Skipped: Dependabot or Renovate configured
- Skipped: Dependency update cooldown configured
- Failed: Provides a security policy — View details on Plumb
- Passed: Abandoned or archived — No consulted source marks the package abandoned (packagist).
- Passed: Commit and release recency — Active: no commit date available; last release 82 days ago.
-
Passed:
composer.lock not committed by library
—
composer.lockis absent from the released dist archive. - Passed: Dist archive is lean
-
Passed:
Current Laravel version supported
—
Package dependencies resolve together with current Laravel
13.0. -
Passed:
Current PHP version supported
—
Constraint
^8.2supports current PHP8.5. - Skipped: Current Symfony version supported
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
.
Documentation
A Filament select component that lets you search and pick unDraw illustrations with image thumbnails in the dropdown and in the selected value.
PHP 8.2+, Filament Forms 5.x.
#Install
composer require zpmlabs/filament-undraw
#Filament theme setup
If your Filament panel uses a custom Tailwind theme, add both package paths to your theme file so Tailwind can see the classes used by the package:
@source '../../../../vendor/zpmlabs/filament-undraw/src/**/*';
@source '../../../../vendor/zpmlabs/filament-undraw/resources/views/**/*';
Both are needed for different reasons:
src/**/*is required because the field component stores configurable utility classes likew-24 h-24andw-40 h-40inside PHP strings.resources/views/**/*is required because the packaged demo page view uses Tailwind classes directly in Blade.
After adding the sources, rebuild your assets:
npm run build
#Version support
main/v5.xtags: Filament 5v4branch /v4.xtags: Filament 4
#If you want to customize the view:
php artisan vendor:publish --tag=filament-undraw-views
- This will copy the blade file to
resources/views/vendor/filament-undraw/undraw-select.blade.php.
#Usage
use ZPMLabs\FilamentUndraw\Forms\Components\UndrawSelect;
UndrawSelect::make('svg_url'),
Since this extends Filament's Select, you can keep using the usual fluent methods alongside the custom thumbnail layout.
#Ready-to-use demo page
The package ships with an example Filament page you can mount directly in your panel:
use CommunitySdks\UnlayerFilament\Examples\Pages\UnlayerFilamentDemoPage;
use Filament\Pages\Dashboard;
use ZPMLabs\FilamentUndraw\Examples\Pages\UndrawDemoPage;
$panel->pages([
Dashboard::class,
UnlayerFilamentDemoPage::class,
UndrawDemoPage::class,
]);
Example field presets used on the page:
use ZPMLabs\FilamentUndraw\Forms\Components\UndrawSelect;
UndrawSelect::make('hero_illustration')
->label('Hero illustration')
->live();
UndrawSelect::make('compact_illustration')
->label('Compact illustration')
->searchResultSize('w-24 h-24')
->selectedOptionSize('w-24 h-24')
->limit(12);
#Expanding Undraw Usage
In case you want to expand this in some other field or custom component you can check the base php package for undraw.
The author
From the same author
World Map Widget
World map widget for statistics.
Author:
ZPMLabber
Popup
Livewire-powered popups from table columns.
Author:
ZPMLabber
Unlayer
This is a Filament field wrapper for the Unlayer editor.
Author:
ZPMLabber
Play Room
PlayRoom is a lightweight, framework-agnostic game hub with filament adapter.
Author:
ZPMLabber
Featured Plugins
A selection of plugins curated by the Filament team
Blueprint
Filament Blueprint is a premium Laravel Boost extension that helps AI agents produce accurate, detailed implementation plans and security reports for Filament apps.
Filament
Custom Fields
Eliminate custom field migrations forever. Let your users create and manage form fields directly in Filament admin panels with 20+ built-in field types, validation, and zero database changes.
Relaticle
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