Passing dynamic value to html tag using component slots and attrs
Set the value of attributes, classes, and styles Event binding, Listen for events and your HTML Two-way binding, Share data between a class and its template
HTML slot Attribute html slot attribute Set the value of attributes, classes, and styles Event binding, Listen for events and your HTML Two-way binding, Share data between a class and its template html slot tag 7 x-slot> Note: The {{ $attributes }} expression is a mechanism in Laravel 7 and above to forward extra HTML attributes declared on the component tag
html slot machine The slot global attribute assigns a slot in a shadow DOM shadow tree to an element: An element with a slot attribute is assigned to the slot
Regular
price
171.00 ₹ INR
Regular
price
Sale
price
171.00 ₹ INR
Unit price
/
per