Order Summary 4 - With promo code fieldPro
An order summary panel with a promo code input that validates codes, applies a percentage or fixed discount and shows a removable applied-code chip with the savings line. Use it in checkout flows where you run discount campaigns and want instant feedback on codes.
About Order Summary 4
An order summary panel with a promo code input that validates codes, applies a percentage or fixed discount and shows a removable applied-code chip with the savings line. Use it in checkout flows where you run discount campaigns and want instant feedback on codes.
Order Summary 4 is a order summary block for React and Tailwind CSS, included in Chocolate UI Pro with motion animations that respect reduced-motion settings. It ships as 115 lines of TypeScript you own: every piece of copy is a prop with a sensible default, so you can drop it in and replace the content without touching the layout.
- ecommerce
- order summary
- promo code
- discount
- coupon
- checkout
Installation
- Set up your project with
npx chocolateui initandnpx chocolateui login(see the installation guide). - Run the Chocolate UI CLI:
npx chocolateui add order-summary-04Dependencies installed automatically: lucide-react, motion.
Uses: button, input, reveal, utils.
Usage
import OrderSummary04 from "@/components/blocks/order-summary-04"
export default function Page() {
return <OrderSummary04 />
}