@akhatmirzo/ui

Checkout summary

Cart list, promo code, total in so'm and checkout steps with a Stepper.

Add with the CLI: npx @akhatmirzo/cli add checkout-summary

1-qadam, 4 tadan:Savat

Savat

4 ta mahsulot
  • Atlas ko'ylakMarg'ilon atlasi · M o'lcham389 000 so'm
    1
  • Aqlli soat ProQora · 44 mm1 249 000 so'm
    1
  • Simsiz quloqchinOq · shovqinni yutadi918 000 so'm
    2

Buyurtma xulosasi

Sinov uchun: TOSHKENT10

Mahsulotlar (4)
2 556 000 so'm
Yetkazib berish (Toshkent)
Bepul
Jami2 556 000 so'm
  • Toshkent bo'ylab 1 kunda, viloyatlarga 2–3 kunda
  • Click, Payme, Uzcard va Humo — xavfsiz to'lov

What's inside

  • Change quantities or remove items; an empty cart shows an EmptyState.
  • Promo codes: TOSHKENT10 or YANGI15; a wrong code shows an error under the field.
  • Delivery is free from 1 000 000 so'm — the total updates instantly.
  • The Stepper is compact in narrow containers and full in wide ones.

Components used

Installation

The CLI copies the block file into your project (components/blocks/checkout-summary.tsx) and offers to install the packages it needs:

npx @akhatmirzo/cli add checkout-summary

Manually: install the packages and copy the file from the "Code" tab into your project.

pnpm add @akhatmirzo/ui @akhatmirzo/tokens @akhatmirzo/core lucide-react