Work

Add to Cart

Raised 3D add-to-cart key that sinks in while adding, with gentle label crossfades, then pops back up in a solid emerald added state before resetting.

Usage

<AddToCartButton label="Add to cart" onAddToCart={async () => addItem(id)} />