--fff-* design system, and an optional JSON custom-field layer without EAV tables or per-attribute migrations.
Use any field as a standalone drop-in, or wire dynamic schemas through HasFlexFields and FlexFieldFormBuilder. Pre-built CSS and JavaScript ship in the package — no Node.js in production.
Quick start
composer update janczakb/filament-flex-fields and php artisan filament:assets. Automate the second step with filament:assets in post-autoload-dump for a hands-off workflow.
Two ways to use Flex Fields
| Approach | Best for | What you need |
|---|---|---|
| Standalone components | Fixed forms — profiles, checkout, CMS pages | Import the field class and chain Filament’s fluent API |
| JSON flex fields | CRM custom attributes, tenant settings, variable page types | HasFlexFields trait + schemas in config or FlexFieldSchemaRegistry |
Requirements
| Dependency | Minimum |
|---|---|
| PHP | 8.3+ |
| Laravel | 11+ |
| Filament | 5.x (^5.0) |
What’s in the box
| Category | Count | Highlights |
|---|---|---|
| Form fields | 56 | PhoneField, CurrencyField, MatrixChoiceField, FlexFileUpload, MapPickerField, IconPickerField |
| Layout & schema | 9 | ItemCardGroup, SegmentTabs, CoverCard, TranslatableFields |
| Table columns | 3 | UserColumn, RatingColumn, IconColumn |
| Total | 68 |
Explore the docs
Getting started
| Page | What you’ll learn |
|---|---|
| Shared concepts | Design system, sm / md / lg sizing, lazy assets, playground |
| Form layout patterns | Combine layout primitives into rich admin UIs |
| Layout components — quick comparison | Pick the right card or tab layout |
| Deprecated class aliases | Legacy class names and migration paths |