2 months ago

<x-slot> usage in Blade Component Cookbook

Posted 2 months ago by stevefink

Hi :)

Should be a trivial question. I noticed in the Blade Component Cookbook series, namely in the modal episode located here:, a component named <x-slot> was used.

Is this a built-in Blade component? I don't see to recall Jeff building a slot.blade.php anywhere. I also noted the usage of $trigger in the actual component definition file. Where is this coming from?

Thanks :)

Please sign in or create an account to participate in this conversation.