Cart & checkout
A one-page purchase: cart, shipping, payment, review and confirmation with an order summary.
npx wunderui-cli add commerce/cart-checkoutLines with quantity steppers, save for later, and a discount code.
Components used
15 components from the library, across all 5 variants.
Notes for AI
What a coding assistant needs to adapt this block.
npx wunderui-cli add commerce/cart-checkoutNeeds a WunderUI Pro license.
01-cart.tsxCart#cart02-shipping.tsxShipping#shipping03-payment.tsxPayment#payment04-review.tsxReview#review05-confirmation.tsxConfirmation#confirmation
One file per variant, each a whole page. Pick the variant closest to the screen you need and keep its components.
_data.ts, _parts.tsx in pro/blocks/commerce/cart-checkout hold the sample data and parts the variants share. The sidebar and top bar come from BlockFrame with accent="green"; the accent marks the active navigation, chart series 1 and selected states.