title: Is it possible to use laravel blade file as a variable?
body: <p>I am trying to create a simple component for a styled link to be used with email templates. Since the requirement is that styling be done directly to the element I don't want to use classes. I figure I could create a PHP where <code>$variable = '&lt;a href="#" style="..."&gt;&lt;a/&gt;'</code></p>
  
  <p>But what I am curious about is doing something like this: </p>
  
  <p>Component: </p>
  
  <p><code>&lt;a href="{{$value}}" style=""&gt;{{$display}}&lt;/a&gt;</code></p>
  
  <p>Assigning:</p>
  
  <pre><code>$variable = @include('components.link', [
          'value' =&gt; 'https://example.com',
          'display' =&gt; 'Visit my new site!'
     ])
  </code></pre>
  
  <p>Use case: </p>
  
  <pre><code>$paragraph = 'Hi, if you have time '.$variable.;
  
  @include('parent.component',[
      'text' =&gt; $paragraph
  ])
  </code></pre>