© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•16mo ago•
6 replies
Xavi

Sidebar action modal

Does anyone know if it is possible to add a button on the sidebar to open a modal for the contact form?
Solution
Hi !
Something like this can help you ?
  ->renderHook(PanelsRenderHook::SIDEBAR_NAV_START, fn() => 
  Blade::render('<x-filament::button wire:click="$dispatch(\'open-modal\', { id: \'contact-form-modal\' })">Test</x-filament::button>')
);
  ->renderHook(PanelsRenderHook::SIDEBAR_NAV_START, fn() => 
  Blade::render('<x-filament::button wire:click="$dispatch(\'open-modal\', { id: \'contact-form-modal\' })">Test</x-filament::button>')
);
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

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Modal action
FilamentFFilament / ❓┊help
2y ago
Open action modals inside a modal
FilamentFFilament / ❓┊help
3y ago
Action in panels::sidebar.footer opens modal in sidebar instead of center of screen
FilamentFFilament / ❓┊help
3y ago
Filament v4 action modal, inside action modal
FilamentFFilament / ❓┊help
5mo ago