Stop Rebuilding UI

Checkout Referral Credit

A checkout referral credit application block for React and Next.js with credit balance display, auto-apply toggle, applied credit amount, referral code input for new credits, and invite friends CTA built with shadcn/ui and Tailwind CSS

Scroll to load preview

Apply referral credits at checkout with this React and Next.js block. Features a referral credit balance display, an auto-apply toggle that deducts credits from the order total, the applied credit amount with remaining balance, a referral code input for adding new credits from friends, and an invite friends CTA to earn more. Built with TypeScript, shadcn/ui Switch, Input, and Button components, Lucide icons, and Tailwind CSS. Perfect for referral program checkout flows, credit-based payment interfaces, and viral growth loop landing pages.

FAQ

Last updated on March 24, 2026

Was this page helpful?

Sign in to leave feedback.