View components
Aside from building custom layout components, you may create âviewâ components which allow you to create custom layouts without extra PHP classes.resources/views/filament/forms/components/wizard.blade.php file.
Custom layout classes
You may create your own custom component classes and views, which you can reuse across your project, and even release as a plugin to the community.If youâre just creating a simple custom component to use once, you could instead use a view component to render any custom Blade file.To create a custom component class and view, you may use the following command:
resources/views/filament/forms/components/wizard.blade.php.
Rendering the componentâs schema
Inside your view, you may render the componentâsschema() using the $getChildComponentContainer() function:
Accessing the Eloquent record
Inside your view, you may access the Eloquent record using the$getRecord() function: