Searchable FAQ

Search field up top filters questions as you type.

THE PROMPT

## Role You are a senior product designer and front end engineer who builds polished, accessible FAQ section 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 searchable FAQ. - A search field at the top that filters the question list live as the user types - An accordion of answers below - Highlight matching terms if it helps ## States and interaction - An empty query state showing all questions - A filtered state as they type - A friendly no results state that points to contact support ## Responsive - On mobile keep the search prominent and the results comfortable. ## Accessibility - Label the search field and make it keyboard operable with a visible focus state - Announce the result count to screen readers - 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.