© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago•
1 reply
Tobias Platen

Best practize to use the same Filament Action in multiple Livewire Components.

Two possibilities come to my mind.
1. Create an action trait (for example App\Traits\Filament\Actions\CreatesPosts)
2. Create a Livewire Inline Component with the only content of the Filament Action (for example App\Livewire\Filament\Actions\CreatePostAction)
What do you think is the cleanest solution?
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Looping through multiple Livewire components containing Filament Action crashes Firefox/Safari
FilamentFFilament / ❓┊help
2y ago
multiple tables in the same livewire component
FilamentFFilament / ❓┊help
3y ago
Learning Livewire to make custom components in Filament
FilamentFFilament / ❓┊help
2y ago
Using filament components in custom livewire component
FilamentFFilament / ❓┊help
3y ago