Download the PHP package zpmlabs/filament-undraw without Composer
On this page you can find all versions of the php package zpmlabs/filament-undraw. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download zpmlabs/filament-undraw
More information about zpmlabs/filament-undraw
Files in zpmlabs/filament-undraw
Package filament-undraw
Short Description Filament select component for undraw illustrations.
License MIT
Homepage https://github.com/ZPMLabs/filament-undraw
Informations about the package filament-undraw
Filament Undraw (ZPMLabs)
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
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:
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:
Version support
main/v5.xtags: Filament 5v4branch /v4.xtags: Filament 4
If you want to customize the view:
- This will copy the blade file to
resources/views/vendor/filament-undraw/undraw-select.blade.php.
Usage
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:
Example field presets used on the page:
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.
All versions of filament-undraw with dependencies
illuminate/support Version ^12.0|^13.0
filament/forms Version ^5.0
zpmlabs/undraw-php Version ^1.0