This will download the pricing-dialog component in your /components directory. You can swap clean for classic or dev if you want to use a different style. View them all at pricecn.com.
<PricingDialog open={isOpen} setOpen={setIsOpen}> <PricingDialogTitle className="text-xl font-bold px-6"> Upgrade to Pro </PricingDialogTitle> <Information> By clicking confirm, you will subscribe to Pro and the following amount will be charged: </Information> <PriceItem> <span>Subscription</span> <span>$10.00 per month</span> </PriceItem> <PriceItem> <span>Credits</span> <span>2000 included per month, then $0.001 each</span> </PriceItem> <PriceItem> <span>Seats</span> <QuantityInput value={quantity} onChange={(e) => { setQuantity(Number(e.target.value)); }} > <span className="truncate">x $20 each</span> </QuantityInput> </PriceItem> <PricingDialogFooter> <TotalPrice> <span>Due Today</span> <span>${10 + quantity * 20}</span> </TotalPrice> <PricingDialogButton>Confirm</PricingDialogButton> </PricingDialogFooter></PricingDialog>