@rsc-labs/store-blocks-cart
v0.0.1
Published
This package provides a comprehensive set of UI components and logic for building a shopping cart experience in your Medusa e-commerce storefront. It leverages the core UI primitives from `@rsc-labs/store-blocks-primitives`.
Readme
The Cart
This package provides a comprehensive set of UI components and logic for building a shopping cart experience in your Medusa e-commerce storefront. It leverages the core UI primitives from @rsc-labs/store-blocks-primitives.
Components
Key components include:
CartMini: A mini-cart component, adaptable for both mobile (drawer) and desktop (popover) views.CartItems: Displays a list of items in the cart, with options for quantity adjustments, removal and multi-selection.CartSummary: Provides an overview of cart totals, including subtotal, tax, shipping, and discounts.CartPromoCode: Allows users to apply and remove promotional codes.CartProceedCheckout: A button component to initiate the checkout process.CartView: A comprehensive cart view that combinesCartItems,CartPromoCode, andCartTotals.
