Optimized for: Gemini / ChatGPT / Claude
Tiered Discount Calculator Pricing Table Prompt
Use this engineered prompt to drastically optimize your workflow and output.
Required Variables
- ✦
[USER_COUNT_SLIDER] - ✦
[UNIT_PRICE]
tiered-discount-calculator-pricing.txt
Generate a dynamic pricing component with a Tailwind-styled range slider. As the user moves the [USER_COUNT_SLIDER], the price in the cards should update based on [UNIT_PRICE] and volume discounts (10% for >10 users, 20% for >50). Include a 'Cost Breakdown' section that updates in real-time. Use Tailwind's accent-color for the slider thumb and flex-col for the card layout. Provide the logic in clean JavaScript/ES6.
Example Output
"The AI creates an interactive pricing tool with a custom-styled slider that calculates total costs based on the user's input quantity."