Cookie Consent Banner
Bottom-corner card with accept/reject and settings.
THE PROMPT
## Role You are a senior product designer and front end engineer who builds polished, accessible consent and utility 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 cookie consent banner as a clean card in a bottom corner. - A short plain language message - Accept and reject buttons given equal visual weight, and a link to cookie settings - A settings view to toggle categories such as necessary, analytics, and marketing, with necessary locked on ## States and interaction - Clear focus states on all controls - The banner must not block key content ## Responsive - On mobile let it span the width comfortably. ## Accessibility - Avoid dark patterns: do not make reject harder to find or less prominent than accept - Make it fully keyboard operable with visible focus - Keep contrast strong ## 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.



