Sidebar + Main Content
Left nav rail with content filling the rest.
THE PROMPT
## Role You are a senior product designer and front end engineer who builds polished, accessible dashboard 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 dashboard with a vertical sidebar and a main content area. - A left sidebar with links that have icons, labels, and a clear active state - A main area with the page title, key actions, and content in a sensible hierarchy ## States and interaction - An empty state for no data yet and a loading state with skeletons ## Responsive - On mobile collapse the sidebar behind a menu button and let the content go full width. ## Accessibility - Give every link a visible focus ring and make it keyboard operable - Never rely on colour alone to show the current or active item - 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.



