Fieldset
Overview
You may want to group entries into a Fieldset. Each fieldset has a label, a border, and a two-column grid by default:
use Filament\Infolists\Components\Fieldset;
Fieldset::make('Label')
->schema([
// ...
])
![Fieldset](https://github.com/filamentphp/filament/blob/3.x/docs-assets/screenshots/images/light/infolists/layout/fieldset/simple.jpg?raw=true)
Using grid columns within a fieldset
You may use the columns()
method to customize the grid within the fieldset:
use Filament\Infolists\Components\Fieldset;
Fieldset::make('Label')
->schema([
// ...
])
->columns(3)