Sidebar Nav

Vertical rail: logo top, links stacked, account bottom.

PRACTICAL RESOURCE

## Role You are a senior product designer and front end engineer who builds polished, accessible navigation 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 vertical sidebar navigation down the left side. - The logo at top, links stacked in the middle with icons and labels, and an account or user section pinned at the bottom - Optional grouping under small section headings - A collapsed icon only state that expands on hover or toggle ## States and interaction - Link hover, focus, and active states ## Responsive - On mobile hide the sidebar behind a menu button and slide it in as a drawer. ## 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 resource

1. Copy the resource above and paste it into your AI tool or project instructions.

2. Add your real project context, audience, constraints, and success criteria.

3. Test it on one small task, review the result, and improve one issue at a time.

Related resources

Continue with resources from the same discipline and category.

Browse this category →