If you need to pass a bound Alpine.js attribute to a Laravel Blade component, you can prefix the attribute name with two colons instead of a single colon to tell Blade to not evaluate the attribute as a PHP expression.
<div x-data="{ isActive: true }">
<x-some-blade-component ::is-active="isActive" />
</div>
Hmm this doesn't seem to work. The
some-blade-component
component won't receive the actual value coming from Alpinejs.Please replay if it did work for you.
** If the reason is just to let Laravel component to ignore the attribute for the sake of Alpinejs, then you always could use the full bind attribute provided by Alpine,
x-bind:is-active=".."
.