Lingadzi House, City Centre, Lilongwe, Malawi
Mon - Fri : 07.30 AM - 16.30 PM
+265 (0)101 771 111
Adding actions to the section's header
Adding actions to the section's header

You may add actions to the section's header using the headerActions() method:

use Filament\Infolists\Components\Actions\Action;
use Filament\Infolists\Components\Section;
 
Section::make('Rate limiting')
    ->headerActions([
        Action::make('edit')
            ->action(function () {
                // ...
            }),
    ])
    ->schema([
        // ...
    ])

Make sure the section has a heading or ID