Monthly / Annual Toggle

Billing switch with a 'save %' badge; prices update live.

THE PROMPT

## Role You are a senior product designer and front end engineer who builds polished, accessible pricing UIs. ## Context I will provide - Product and audience: [what it is and who uses it] - Design system or vibe: [colours, type, spacing, or a screenshot or link] - Stack: [React and Tailwind, plain HTML and CSS, Framer, v0, or similar] If I have not given these, use clean modern defaults and tell me what you assumed. ## Build Build a pricing section with a monthly and annual billing toggle. - A toggle at the top with a save badge on the annual option, and prices that update on selection - Plan cards with names, prices, feature lists, and buttons ## States and interaction - The toggle shows its current state and updates prices smoothly - Hover and focus states on the cards and buttons - The toggle is keyboard operable with a visible focus state and an accessible label ## Responsive - On mobile keep the toggle prominent above the stacked cards. ## Accessibility - Keep contrast strong - Keep the current billing choice obvious - Give the toggle an accessible label ## Output Production ready code in my stack, or a clear component spec if I have not named a stack. Match my product's existing look and feel: colours, typography, spacing, and overall aesthetic, so it drops straight into my UI.

How to use this prompt

1. Copy the prompt above.

2. Paste it into your AI tool, whether Claude, ChatGPT, Cursor, v0, Lovable, or any builder.

3. Add a screenshot of your existing UI so the result matches your colors, type, and spacing.