Skip to main content
You are currently viewing the documentation for Filament 3.x, which is a previous version of Filament.Looking for the current stable version? Visit the 5.x documentation.

Inserting Livewire components into an infolist

You may insert a Livewire component directly into an infolist:
If you are rendering multiple of the same Livewire component, please make sure to pass a unique key() to each:

Passing parameters to a Livewire component

You can pass an array of parameters to a Livewire component:
Now, those parameters will be passed to the Livewire component’s mount() method:
Alternatively, they will be available as public properties on the Livewire component:

Accessing the current record in the Livewire component

You can access the current record in the Livewire component using the $record parameter in the mount() method, or the $record property:

Lazy loading a Livewire component

You may allow the component to lazily load using the lazy() method: