Any idea how can I create toast notification similar to the attached image?

No description
6 Replies
toeknee
toeknee4w ago
Why use toast when you ca use filament notifications?
Nicole
Nicole4w ago
s there any? Can I customize it as well to look like that?
Dennis Koch
Dennis Koch4w ago
What you are showing does look like a Filament Notification. Check the notification docs.
Nicole
Nicole4w ago
Dennis Koch
Dennis Koch3w ago
Yes. It’s installed by default though inside the panel.
Nicole
Nicole3w ago
Hello Is there any way I can copy a text when click a button?
Notification::make()
->title('Saved successfully')
->success()
->body('Changes to the post have been saved.')
->actions([
Action::make('view')
->button()
->url(route('posts.show', $post), shouldOpenInNewTab: true),
Action::make('copyText')
->color('gray')
->dispatch(''),
])
->send();
Notification::make()
->title('Saved successfully')
->success()
->body('Changes to the post have been saved.')
->actions([
Action::make('view')
->button()
->url(route('posts.show', $post), shouldOpenInNewTab: true),
Action::make('copyText')
->color('gray')
->dispatch(''),
])
->send();