Overview

Layouts
Watch the Rapid Laravel Development with Filament series on Laracasts - it will teach you the basics of customizing the layout of a Filament form.Filament\Forms\Components namespace. They reside within the schema of your form, alongside any fields.
Components may be created using the static make() method. Usually, you will then define the child component schema() to display inside:
Available layout components
Filament ships with some layout components, suitable for arranging your form fields depending on your needs: You may also create your own custom layout components to organize fields however you wish.Setting an ID
You may define an ID for the component using theid() method:
Adding extra HTML attributes
You can pass extra HTML attributes to the component, which will be merged onto the outer DOM element. Pass an array of attributes to theextraAttributes() method, where the key is the attribute name and the value is the attribute value:
Global settings
If you wish to change the default behavior of a component globally, then you can call the staticconfigureUsing() method inside a service provider’s boot() method, to which you pass a Closure to modify the component using. For example, if you wish to make all section components have 2 columns by default, you can do it like so: