F
Filament6mo ago
Nicole

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

No description
6 Replies
toeknee
toeknee6mo ago
Why use toast when you ca use filament notifications?
Nicole
NicoleOP6mo ago
s there any? Can I customize it as well to look like that?
Dennis Koch
Dennis Koch6mo ago
What you are showing does look like a Filament Notification. Check the notification docs.
Nicole
NicoleOP6mo ago
Dennis Koch
Dennis Koch6mo ago
Yes. It’s installed by default though inside the panel.
Nicole
NicoleOP6mo 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();
Want results from more Discord servers?
Add your server