Laravel - Mail - Button Component
The button component renders a centered button link. The component accepts two arguments, a url
and an optional color
. Supported colors are primary
, success
, and error
. You may add as many button components to a message as you wish:
@component('mail::button', ['url' => $url, 'color' => 'success'])
View Order
@endcomponent