© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•4mo ago•
4 replies
BloodDrunk

Delete action inside modal - alignment

Did anyone succeed in achieving this kind of layout?

I'm tryinf to add delete action inside the edit modal, and I want it like it's in the picture, but I can't get it to be like that.
image.png
Solution
Action::make('yourAction')
    ...
    ->modalCancelAction(false)
    ->extraModalFooterActions([
        Action::make('cancel')
            ->color('gray')
            ->close(),
        Action::make('delete')
            ->color('danger')
            ->extraAttributes(['class' => 'sm:ml-auto']),
    ])
Action::make('yourAction')
    ...
    ->modalCancelAction(false)
    ->extraModalFooterActions([
        Action::make('cancel')
            ->color('gray')
            ->close(),
        Action::make('delete')
            ->color('danger')
            ->extraAttributes(['class' => 'sm:ml-auto']),
    ])


You need to create a custom theme
Overview - Customizing styling - Filament
Jump to solution
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources
Was this page helpful?

Similar Threads

Recent Announcements

Similar Threads

Filament v4 action modal, inside action modal
FilamentFFilament / ❓┊help
5mo ago
fileUpload inside Action Modal
FilamentFFilament / ❓┊help
3y ago
Modal alignment
FilamentFFilament / ❓┊help
3y ago
Action Modal - inside user menu
FilamentFFilament / ❓┊help
14mo ago