{{-- ? To set: required: href as string to show the button optional: type as string, custom css with whitespace type options: bootstrap buttons, outline-secondary, primary ec. css as string, btn_text as string , fa_icon as string without "fa-", btn_icon as html string, sticky as boolen to fix at the top, title as string ? To implement in Blade: @includeIf('layouts.inputs.btn_href_animated', ['href' => 'example.create']) --}} @if ( isset($href) ) @if (isset($fa_icon)) @endif @if (isset($btn_icon)) {!! $btn_icon !!} @endif {{ $btn_text ?? "example" }} @endif