Card Grid With Filters
Post cards with category filter tags above.
THE PROMPT
## Role You are a senior product designer and front end engineer who builds polished, accessible blog and content 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 blog index as a grid of post cards with category filter tags above that filter the visible posts on click. - Each card: image, category tag, title, excerpt, and a meta line - Filter tags above, with an all option and the active filter clearly shown ## States and interaction - Whole card hover and focus state, since it links to the post - Active filter state, obvious without relying on colour alone - A friendly empty state for a filter with no posts ## Responsive - Reflow the grid to one column on mobile. ## Accessibility - Make the filter tags keyboard operable with visible focus - Keep the active filter obvious without colour alone - 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.



