Components

Cart Icon

The Cart Icon component is a simple icon that represents the Cart and the amount of items currently in it. It is used to indicate to users that they can view their Cart and proceed to checkout.

This component is automatically included on the provided Cart page, but you can also include it on any page. It includes a link to the /cart page by default.

Example

You are able to include your own classes and attributes like a normal Blade component.

1<x-conduit::cart-icon />
2 
3{{-- OR --}}
4 
5<x-conduit::cart-iconclass="text-gray-900 dark:text-gray-200" />
Previous
Cart Button
Code highlighting provided by Torchlight